Goldman Sachs Interview Question

Trie based question of finding all possible words