Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple solution in Clear category for The End of Other by nikpa
def checkio(words_set):
word_list = sorted(list(words_set), key=len)
return any([word_list[i] in word_list[j][-len(word_list[i]):]
for i in range(len(word_list))
for j in range(i + 1, len(word_list))])
July 30, 2015