https://hack.codingblocks.com/contests/c/669/428
Solved with the greedy approach, answer is correct on submission. Can you please tell in
in the question, What is the meaning of ‘Both the players play optimally’.
@phantom
Optimal Game Strategy---
both choose the way to win
type of dp problem
1 Like
ok…