Showing posts with label Morgan Stanley Interview questions. Show all posts
Showing posts with label Morgan Stanley Interview questions. Show all posts

Finding Minimum Distinct Ids

Given an array of items, an i-th index element denotes the item id’s and given a number m, the task is to remove m elements such that there should be minimum distinct id’s left.Print...