Amazon Interview Question

Given two strings, decide if they are anagrams.