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