- Reverse a String 1
- Reverse Each Word
- Reverse a Sentence
- Palindrome
- Find Words
- CountIng Search
- Unique Characters
-
Java Sandwich - Anagrams 1
- Anagrams 2
- Counting Search 2
Java String Resources:
Anagrams 1
Collapse Content
Show Content
An anagram is a unique arrangement of a word. For example, "orchestra" is an anagram of "carthorse". Given two words, determine if they're anagrams of each other. The input is all lowercase.
Challenge
Create a program that prints true
if the given words are anagrams of each other and false
otherwise.
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.
Comments
thales
Aug 1, 1:05 PMHere is a solution:
my code