Question d’entretien chez Amazon

Write function which can traverse through trie data structure.