| |
GeekInterview.com > Interview Questions > Concepts > Data Structures
| Print | |
Question: Data Structure for one million named objects
Answer: If you have one million named objects and you want to store them in a data structure that lets you insert new objects quickly and search for an object by name quickly, what data structure should you use? |
| April 04, 2009 13:02:48 |
#5 |
| nirmo420 |
Member Since: April 2009 Total Comments: 2 |
RE: Data Structure for one million named objects |
| Since there is the question about serching and insertion quickly, i think the data structure should be binary serach tree , not simple binary tree |
| |
Back To Question | |