Q: You have a bag of ids and you are allowed to take out m items from the bag.
Return the minimum number of unique ids in your bag after you take out m items from the bag.
ex) (ids: [2,3,1,1,1,3,4], m: 2) => 2 (you can take out 2 and 4)
My solution is here: https://github.com/hbjORbj/interview_prep/blob/master/Second%2099/q_a111.js