https://www.geeksforgeeks.org/minimum-removals-array-make-max-min-k/