Return `true` if `t` is an anagram of `s`. Variant **#40**.
Example 1
Input: s = "abcd", t = "abcd"
Output: true
Constraints
Acceptance: 68% · Topics: string, hash-table, sorting
← All practice problems