Amazon interview question

leetcode: 3 sum variant, Trie tree, anagram;