Daily iOS
CS fundamentals and algorithms

Trie based autocomplete

You need search autocomplete that works offline: 500,000 candidate words, and on every keystroke you return the top 10 within 16ms. How do you design the data structure?

Submit