0
I recently came across an issue which goes like:
We are given an array of numbers
There are two players. They have to play a game such that they can only select one of the extreme ends of the array in their turn.
For example: array is 1,4,2,6,8,5,3
A choses 3 so the array now becomes 1,4,2,6,...