You are viewing a single comment's thread. Return to all comments →
sor = [sorted(row) for row in grid] cols = list(zip(*sor)) for row in cols: 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 →