You are viewing a single comment's thread. Return to all comments →
The grid isn't sqaure.
def gridChallenge(grid): for i in range(len(grid)): grid[i] = sorted(grid[i]) for i in range(len(grid[0])): for j in range(len(grid)-1): if grid[j][i] > grid[j+1][i]: 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 →
The grid isn't sqaure.
Python