Minimize the maximum difference

https://practice.geeksforgeeks.org/problems/minimize-the-heights3351/1

Can you please help me with this question I have already read the editorial for many times but still I don’t understand.

Hey @div_yanshu07
Refer to this : https://app.glider.ai/tutorials/minimize-the-heights/video