Problem 242 · Easy

Valid Anagram

Count character frequencies in both strings; anagram iff counts match.

Open the interactive visualisation