| English | 简体中文 |
Given two strings s and t , write a function to determine if t is an anagram of s.
Input: s = "anagram", t = "nagaram" Output: true
Input: s = "rat", t = "car" Output: false
You may assume the string contains only lowercase alphabets.
What if the inputs contain unicode characters? How would you adapt your solution to such case?