Largest Array minimum in N-1 operations by reducing each element by minimum
Given an array arr[] containing N integers, the task is to find the maximum of all minimum elements after N-1 delete operations. In one operation, remove the smallest element from the array and subtract it from all remaining elements. Examples: Input: arr[] = {-1, -2, 4, 3, 5}Output: 4Explanation: F