Amazon Interview Question

Write anagram