Given two strings s and t , write a function to determine if t is an anagram of s.
Example 1:
1 |
Input: s = "anagram", t = "nagaram" |
Example 2:
1 |
Input: s = "rat", t = "car" |
1 |
class { |
Given two strings s and t , write a function to determine if t is an anagram of s.
Example 1:
1 |
Input: s = "anagram", t = "nagaram" |
Example 2:
1 |
Input: s = "rat", t = "car" |
1 |
class { |
近期评论