You are viewing a single comment's thread. Return to all comments →
I just did the simplest version lmao..
def compareTriplets(a, b): alice = 0 beam = 0 sizeOfList = len(a) for i in range(len(a)): if(a[i] > b[i]): alice = alice + 1 elif(a[i] < b[i]): beam = beam + 1 return alice,beam
Seems like cookies are disabled on this browser, please enable them to open this website
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →
I just did the simplest version lmao..