Implement a function to check if a string is an anagram of another string.
MediumProblem Statement
Implement a function to check if a string is an anagram of another string.
Sample Input
String 1: "listen" String 2: "silent"
Sample Output
Is anagram: true
Limits
Time: 2s · Memory: 256 MB