Walmart Interview Question

How would you implement determining if an input is an anagram?