c***n 发帖数: 588 | 1 Given a list of words output the largest anagram derivative contained in
that set.
Take an anagram derivative as:
Consider the word 'cat' as a basis, then the word 'tack' is said to an
anagram derivative of 'cat' since it can be re-arranged and appended with an
alphabet to form the word 'tack'. This process can be performed repeatedly,
so that the word 'tacky' is an anagram derivative of 'tack'.
Now given a list of words output the largest anagram derivative in that list
. |
|