You are viewing a single comment's thread. Return to all comments →
Python3
def gridChallenge(grid): columns = [0] * len(grid[0]) for index in range(len(grid)): row = [ord(c) for c in grid[index]] row.sort() for c in range(len(row)): if columns[c] > row[c]: return 'NO' columns[c] = row[c] 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