You are viewing a single comment's thread. Return to all comments →
Thank you so much for pointing that out. For Java, I added this line in the main method (right after the call to getWays).
bufferedWriter.write(Long.toString(ways));
Seems like cookies are disabled on this browser, please enable them to open this website
The Coin Change Problem
You are viewing a single comment's thread. Return to all comments →
Thank you so much for pointing that out. For Java, I added this line in the main method (right after the call to getWays).
bufferedWriter.write(Long.toString(ways));