Maximum Median Sum of Subsequences of Size 3
Sort the numbers and let each group take the largest remaining value with the one just below it as its median.
Sort the numbers and let each group take the largest remaining value with the one just below it as its median.