Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Start from the largest sum possible, and keep finding the next largest sum until you reach the kth sum.
Starting from a sum, what are the two next largest sums that you can obtain from it?