Microsoft interview question

Imprement a trie data structure