American Express interview question

Write the pseudo code to check if two strings are anagrams.