You are viewing a single comment's thread. Return to all comments →
def gridChallenge(grid): for item in zip(*[sorted(item) for item in grid]): if not all(a <= b for a,b in zip(item, item[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 →