Microsoft Interview Question

Imprement a trie data structure