Google interview question

Binary search, anagrams, and binary trees