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

Comments

Popular posts from this blog

Reasoning-Number Series

Reasoning-Letter Series

Multiply Negative numbers in java