14 May Markham Saturday 14:00 Java Homework 20.05.09.
Question:
Write code to check whether two strings are anagrams of each other. Print ‘yes’ if they are anagrams of each other, otherwise print ‘no’.
Sample Input 1: abcd bcda Sample Ouput 1: Yes
Sample Input 2: apple papla Sample Output 2: No
Sample Input 3: listen silent Sample Output 3: Yes
Sorry, the comment form is closed at this time.