You are viewing a single comment's thread. Return to all comments →
Why do we mark game[i] = 1? I know we have visited that index once, but the goal is to see if we can win or not , right?
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Java 1D Array (Part 2)
You are viewing a single comment's thread. Return to all comments →
Why do we mark game[i] = 1? I know we have visited that index once, but the goal is to see if we can win or not , right?