cs.thefarshad
easy Strings & Hashing

Valid Anagram

Return true if `t` is an anagram of `s` — the same letters with the same counts, reordered. Example: s = "anagram", t = "nagaram" → true; s = "rat", t = "car" → false.

runs in your browser