ZapLabs Interview Question

How do you check if two strings are anagrams?