Problem
Given two stringss and t, return true if t is an anagram of s, and false otherwise.
Examples
Constraints
- 1 <= s.length, t.length <= 5 * 10^4
- s and t consist of lowercase English letters.
Tested Python solution for LeetCode 242 with 18 pytest cases. Generate a practice environment with lcpy.
s and t, return true if t is an anagram of s, and false otherwise.