OYO Interview Question

Based on Trie, Trees, Graphs