GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  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?


October 10, 2009 01:09:30 #6
 vinod148   Member Since: April 2008    Total Comments: 6 

RE: Data Structure for one million named objects
 
The ultimate solution for this is TRIE or advanced TRIE
     

 

Back To Question