Add the solution of trie tree