Maximize the sum of selected numbers from an array to make it empty || GeeksforGeeks || POTD