WorkWave interview question

Valid anagram.