You are viewing a single comment's thread. Return to all comments →
python :
def missing(arr,brr):
missing = set() for n in brr: if n in arr: arr.remove(n) else: missing.add(n) return sorted(list(missing))
Seems like cookies are disabled on this browser, please enable them to open this website
Missing Numbers
You are viewing a single comment's thread. Return to all comments →
python :
def missing(arr,brr):