Approach hintTry it first, then revealHide
Two strings are anagrams exactly when their letter counts match; increment counts for one string, decrement for the other, and check that every count ends at zero.
Two strings are anagrams exactly when their letter counts match; increment counts for one string, decrement for the other, and check that every count ends at zero.