Bloomberg interview question

Write a function that can prove if two strings are anagrams