How to solve this problem using binary search. Problem Statement : You are given an array A of N integers in nondecreasing order. Remove K integers such that the maximum difference between two consecutive elements is minimized.
Problem Link
solution using binary search (I am not getting its intuition).