Question DSA-TREE-0035
EasyWhat is a trie mainly used for?
- A.
Sorting numbers
- B.
Finding shortest paths
- 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
Trees question
What is a trie mainly used for?
Sorting numbers
Finding shortest paths
Sign up free to see the answer and a step-by-step explanation.
Balancing a binary search tree
Storing strings so that searches by prefix are fast