Design 'ls' prefix search using Trie
Filed under Zomato
The question
Implement an 'ls' prefix-search function over a given list of filenames. Return all filenames matching the typed prefix using a Trie.
No write-up yet. Related questions below have one.
Related Zomato questions
Collected from public candidate posts and coding forums. Updated Nov 2026.