01.10 · Problem
Pick Cards From the Ends
This problem is part of solulu Pro
A game table has cards in a row, each with some points. In exactly k turns you take a card from either the leftmost or the rightmost end every turn. What is the maximum total of points you can collect?
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 10 of 94 · updated 2026-10-12