You are viewing a single comment's thread. Return to all comments →
Am I correct in thinking that the 4th-to-last code line
min = Math.min(min, 1 + minMove(n-1));
is necessary to cover (per description), case "2: Decrease the value of N by 1."?
Seems like cookies are disabled on this browser, please enable them to open this website
Down to Zero II
You are viewing a single comment's thread. Return to all comments →
Am I correct in thinking that the 4th-to-last code line
is necessary to cover (per description), case "2: Decrease the value of N by 1."?