WorkWave Interview Question

Valid anagram.