India’s Best Job Seekers and Training Platform Forums Data Structure Implement a vector-like data structure from scratch …

  • Implement a vector-like data structure from scratch …

     Akash  updated 10 months, 2 weeks ago 1 Member · 1 Post
  • Akash 

    Administrator
    at

    Implement a vector-like data structure from scratch.
    This question was to be done in C or C++.
    Discussion topics:
    1. Dealing with out of bounds accesses.
    2. What happens when you need to increase the vector’s size?
    3. How many copies does the structure perform to insert n elements? That is, n calls to vector.push_back

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 21st September 2020. Attend one week free demo classes.Register Now

New Report

Close