You are viewing a single comment's thread. Return to all comments →
def compareTriplets(a, b): alice = 0 bob = 0 if len(a) == len(b): for i in range(len(a)): if a[i] > b[i]: alice += 1 if a[i] < b[i]: bob += 1 return [alice, bob]
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 →