587. Anagram Check
0
Easy
Given two strings s and t, determine if t is an anagram of s.
Input Format
The first line of input contains the string s.
The second line of input contains the string t.
Output Format
Print "True" if s and t are valid anagrams, otherwise print "False".
Example
Input
anagram
nagaram
Output
True
Constraints
The given strings only consist of lowercase alphabets.
Loading...
View Submissions
Console