My question is State (2,2) , can player give valid move , because no box with fewer items..
Please Clearify
12293 - Box Game
Moderator: Board moderators
-
- Learning poster
- Posts: 96
- Joined: Tue Apr 23, 2013 12:54 pm
-
- Guru
- Posts: 5947
- Joined: Thu Sep 01, 2011 9:09 am
- Location: San Jose, CA, USA
Re: 12293 - Box Game
How do you reach that state if both players follow a perfect strategy?
Check input and AC output for thousands of problems on uDebug!
-
- Experienced poster
- Posts: 122
- Joined: Tue Apr 16, 2002 10:07 am
Re: 12293 - Box Game
Simulate the game using the minmax algorithm and you should see a pattern..Repon kumar Roy wrote: ↑Fri Nov 28, 2014 3:50 pm My question is State (2,2) , can player give valid move , because no box with fewer items..
Please Clearify