You are viewing a single comment's thread. Return to all comments →
def gridChallenge(grid): n = len(grid) for i in range(n - 1): if max(grid[i]) > max(grid[i+1]) or min(grid[i]) > min(grid[i+1]): 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 →