4 ms·This is just a classic combination of trie with hashmap.by pshirshov 4y agoThis is just a classic combination of trie with hashmap.