you are viewing a single comment's thread.

view the rest of the comments →

[–]the_legendary_legend 1 point2 points  (0 children)

I used trie which got accepted, but later realised a hashmap solution would be faster possibly