1. You are given two Strings S and T of lowercase letters only. 2. You have to find whether T is an anagram of S or not. 3. main takes input Strings S and T from the users. 4. This is a functional problem. 5. You have to complete the isAnagram function. It takes as input the String S and String T. It should return true if T is and anagram of S, else should return false. 6. Don't change the code of main.
Input Format
First line takes input S. Second line takes input T. Input is handled for you.
Output Format
Yes, if T is anagram of S else No Output is handled for you.
Constraints
N/A
Notice
Try First, Check Solution later
1. You should first read the question and watch the question video.2. Think of a solution approach, then try and submit the question on editor tab.3. We strongly advise you to watch the solution video for prescribed approach.Example
Input
pepcoding dongpcpie
Output
Yes