Question DSA-STR-0058
MediumWhich data structure is used for fast prefix lookups, such as autocomplete?
- A.
Stack
- B.
Trie
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Strings question
Which data structure is used for fast prefix lookups, such as autocomplete?
Stack
Trie
Sign up free to see the answer and a step-by-step explanation.
Heap
Queue