Problem 1755 · Hard

Closest Subsequence Sum

Split the numbers in half, list every subset sum of each half, and pair each left sum with the closest right sum.

Open the interactive visualisation