4 ms·
Not exactly what you want but a second trie with the key on the starting letters and the value the complete word might work for you. Your ABD example would work
by TYMorningCoffee 5y ago
Not exactly what you want but a second trie with the key on the starting letters and the value the complete word might work for you. Your ABD example would work but something like
ABrD would not.