Introduction
It is an easy level algorithm tagged by HashTable. I had good time to learn to write a solution using Trie.
Solution using Trie
I understand that there must be an quick and easy to write solution for the easy algorithm. To write a Trie is not so easy, and I have to think carefully and then need 10 to 20 minutes to come out code.
Here is my discuss link using Trie. I also wrote some comment in one popular discuss, here is the link.
No comments:
Post a Comment