Hangout With Anagram in java
You are given with a words of array, now you need list only anagrams as output array. Anagram is a direct word ,by rearranging letters of a words or phrase produces new word or phrase.
Input:
tea ate eat apple java vaja cut utc
Output:
tea
ate
eat
java
vaja
cut
utc
tea ate eat apple java vaja cut utc
Output:
tea
ate
eat
java
vaja
cut
utc
Comments
Post a Comment