You are viewing a single comment's thread. Return to all comments →
Solution to the non-squared square grid
def gridChallenge(words): words = [sorted(text) for text in words] for row, word in enumerate(words[:-1]): for col, _ in enumerate(word): if words[row][col] > words[row+1][col]: return "NO" return "YES"
Seems like cookies are disabled on this browser, please enable them to open this website
Grid Challenge
You are viewing a single comment's thread. Return to all comments →
Python 3
Solution to the non-squared square grid