We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Hey,
I'm trying to solve this problem. I studied the combinational game theory but I find something confusing. If i have three pins. III
mex{1,2} = 0 means LOSE. But I can knock down the middle pin and it will be IXI for the next player he/she can only knock either the left or right so I will it will be a WIN.
Am I implementing the game theory wrong or...?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Bowling Pins
You are viewing a single comment's thread. Return to all comments →
Hey, I'm trying to solve this problem. I studied the combinational game theory but I find something confusing. If i have three pins.
III
mex{1,2} = 0 means LOSE. But I can knock down the middle pin and it will beIXI
for the next player he/she can only knock either the left or right so I will it will be a WIN. Am I implementing the game theory wrong or...?