You are viewing a single comment's thread. Return to all comments →
def pickingNumbers(a): # Write your code here a.sort() p = 0 for s in range(len(a)): if a[s] - a[p] > 1: p += 1 return s - p + 1
Seems like cookies are disabled on this browser, please enable them to open this website
Picking Numbers
You are viewing a single comment's thread. Return to all comments →