SecurityScorecard Interview Question

Write a function (pseudo-code is fine) to determine if two strings are anagrams.