Bloomberg Interview Question

Write a function that can prove if two strings are anagrams