Gemini Solutions interview question

Given both string are anagram