Please help me with how to approach these question?

Revision en1, by aloo08051999, 2021-03-27 22:26:15

This is problem from newton coding challenge i am unable to come up with any optimised approach/expression.I was thinking to find intermediate states and find if any is forcefully losing for player 2 then player 1 wins but constraint are high.Please help by providing some hints on how to solve similar pattern problem. Link link to problem

Tags #game-theory

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English aloo08051999 2021-03-27 22:34:43 7 Tiny change: 's out 3*x piles from on' -> 's out 3*x stones from on'
en2 English aloo08051999 2021-03-27 22:30:31 332
en1 English aloo08051999 2021-03-27 22:26:15 469 Initial revision (published)