Problem 3627 · Medium

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.

Open the interactive visualisation