You are viewing a single comment's thread. Return to all comments →
def gridChallenge(grid): for i in range(len(grid)): grid[i] = sorted(list(grid[i])) for x in list(zip(*grid)): if list(x) != sorted(x): 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 →
Python3