3 ms·
Was the list of city names known? Could you statically pre-build the Trie structure?
by koliber 3y ago
Was the list of city names known? Could you statically pre-build the Trie structure?
- haxen 3y agoIt was known, but the requirement was that the program keep working for an arbitrary keyset that conforms to the specified rules (up to 10,000 unique keys, each up to 100 bytes in length).