Google Interview Report
- 1of 3 votes
AnswersImplement a vector-like data structure from scratch.
- Victor November 21, 2014 in Brazil
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| Report Duplicate | Flag | PURGE
Google Software Engineer Intern Data Structures
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.