You are viewing a single comment's thread. Return to all comments →
Counting Sort is your friend, and the answer to many problems of this nature.
O(m + n) solution is the goal.
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 →
Counting Sort is your friend, and the answer to many problems of this nature.
O(m + n) solution is the goal.