You are viewing a single comment's thread. Return to all comments →
This problem is a free 40 points :-)
def twoArrays(k, A, B): A.sort() B.sort(reverse = True) for i in range(len(A)): if A[i]+B[i]<k:return 'NO' else:return 'YES'
Seems like cookies are disabled on this browser, please enable them to open this website
Permuting Two Arrays
You are viewing a single comment's thread. Return to all comments →
This problem is a free 40 points :-)