InterviewBit Problems   Maximum Difference : Solved