Maximum Value of K Coins From PilesChoose prefixes from coin piles to maximize the value of exactly k coins.