Jane Street Interview Question

write a code for anagram