AJ:

This will NOT require a dictionary since you are only comparing the provided words. So, if I have the words ELVIS, LIVES, SILVER then the algorithm should be able to figure out that ELVIS is an anagram of LIVES and that SILVER is not an anagram of either ELVIS or LIVES. The algorithm is not supposed to find that SLIVER is an anagram of SILVER since SLIVER wasn't provided in the list of words.
_________________________
There are two types of vessels, submarines and targets.