Given an array of size N and a number K. You need to Partition the array into K non-empty partitions such that the sum of (max-min) in each partition is maximized.
Le