given an array which is not sorted, which elements should be removed to
form a longest increasing subsequence