CSES — Removal Game
I was read a solution of problem at here. But i don't know why minus dp[l+1][r] if first people choose a[l] and dp[l][r-1] if first people choose a[r]. Can else help me, thanks :>>
Atcoder ABC #356 Solution Discussion
ABC 356 Quick Solution Discussion (with myself)