PROJECT EULER · #0948
Left vs Right
Left and Right play a game with a word consisting of L's and R's, alternating turns. On Left's turn, Left can remove any positive number of letters, but not all the letters, from the left side of the word. Right does the same on Right's turn except that Right removes letters from the right side. The game continues until only one letter remains: if it is an 'L' then Left wins; if it is an 'R' then Right wins.
Let
You are given
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.