practice for data structure Trie