Anagram Seal (Strings)
Read two words. Print yes if one is a rearrangement of the other (case-insensitive), else no.
Input: Two words on one line.
Output: yes or no.
Difficulty: Easy. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Hint
- Sort the letters, or count them.