Optimal game strategy

i did not understood the last part in which we can make one more base case of if j==i+1

hello @aslesha.j7
base case j==i+1 is telling that we are left with only 2 elements.

answer in such case will always be max(arr[i],arr[j] ).