Counting Removal Game
Two players play a game with an array of n integers arranged in a row. On each turn, a player takes either the leftmost or the rightmost remaining element and adds its value to their total score. The game ends when no elements remain.