You are viewing a single comment's thread. Return to all comments →
def gridChallenge(grid): return min(['YES' if list(c) == sorted(c) else 'NO' for c in zip(*[sorted(grid[r]) for r in range(len(grid))])])
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 →