C # program to find maximum score we can get by removing elements from either end .
using System ; class GFG { static int MAX = 50 ; static int solve ( int [ , ] dp , int [ ] a , int low , int high , int turn ) {