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