Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
O(n^2) solution in Uncategorized category for The End of Other by timiway
def checkio(words_set):
for wordP in words_set:
for wordS in words_set:
if wordP != wordS and wordP.endswith(wordS):
return True
return False
#These "asserts" using only for self-checking and not necessary for auto-testing
May 16, 2014