You are viewing a single comment's thread. Return to all comments →
My asenine Python 3 one-liner:
def larrysArray(A): return ["YES", "NO"][sum(sum([x > A[i] for x in A[0:i]]) for i in range(1, len(A))) % 2]
Seems like cookies are disabled on this browser, please enable them to open this website
Larry's Array
You are viewing a single comment's thread. Return to all comments →
My asenine Python 3 one-liner: