I can use the median of medians selection algorithm to find the median in O(n). Also, I know that after the algorithm is done, all the elements to the left of the median are les
Four Steps:
When k is small enough, the overall time complexity becomes O(n).