You are viewing a single comment's thread. Return to all comments →
can anyone explain how this return statement works.
return isSolvable(leap, game, i + leap) || isSolvable(leap, game, i + 1) || isSolvable(leap, game, i - 1);
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 →
can anyone explain how this return statement works.
return isSolvable(leap, game, i + leap) || isSolvable(leap, game, i + 1) || isSolvable(leap, game, i - 1);