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.
Interesting... Before I went through these comments, I'd deduced you could eliminate 2 piles of any length, as the second player could ostensibly and definitively negate any moves the first player did.
I hadn't been able to parse down to the XOR component that brought that same principle to a greater scope. Thanks for this.
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 →
Interesting... Before I went through these comments, I'd deduced you could eliminate 2 piles of any length, as the second player could ostensibly and definitively negate any moves the first player did.
I hadn't been able to parse down to the XOR component that brought that same principle to a greater scope. Thanks for this.