CSES Solutions - Apple Division
There are N apples with known weights given as arr[]. Your task is to divide the apples into two groups so that the difference between the weights of the groups is minimal. Examples: Input: N = 5, arr[] = {3, 2, 7, 4, 1}Output: 1Explanation: Group 1 has weights 2, 3 and 4 (total weight 9), and group