Problem 1686 · Medium

Stone Game VI

Two players take stones with different personal values, and the winner has the larger total. The visual sorts stones by combined value and alternates picks between the two players.

Open the interactive visualisation