Java program to find minimum difference between groups of highest and lowest sums .
import java . util . Arrays ; import java . util . Collections ; import java . util . Vector ; class GFG { static long calculate ( long a [ ] , int n ) {