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.
Replace the canWin() function in the sample code with this code and it will work. Make sure to leave the main() function in the original code too. I just tested it and it works.
Java 1D Array (Part 2)
You are viewing a single comment's thread. Return to all comments →
Replace the
canWin()
function in the sample code with this code and it will work. Make sure to leave themain()
function in the original code too. I just tested it and it works.HackerRank solutions.