You are viewing a single comment's thread. Return to all comments →
in Python, if you know Counter from the standard collection library, you can do:
def missingNumbers(arr, brr): a = Counter(arr) b = Counter(brr) return sorted((b - a).keys())
Not sure why this question worth 45 points, its even much eaiser than some of those 15/20 points questions.
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 →
in Python, if you know Counter from the standard collection library, you can do:
Not sure why this question worth 45 points, its even much eaiser than some of those 15/20 points questions.