Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
koliber
· 2y ago · 0 comments
Was the list of city names known? Could you statically pre-build the Trie structure?
Comments
[–]
haxen
2y ago
It 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).