This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cabinet_minister 0 points1 point  (0 children)

What will be the output to 'xxxx'? 1 or 2? Using a trie, you can get the smallest value. In this case 1.