Friday, August 20, 2010

UVa 630 Anagrams

Problem: anagram of a given word is the counts of each alphabets. The problem gives a list of words, and a query word asks the program to print all words with the same anagram.

Solution: just count, compare and print.

No comments: