Towers of Hanoi - Part 2 Comments


  • Why is my output shown as orange not green even though ouput matches.

  • @Yogi, thanks for letting em know, it's been fixed.

  • Although I know the process of solution to the problem, I can't figure out how to transform into program. Could anyone give me some hint of how to program it?

  • You can view the beginning of a solution here. The comments there can help guide you to a full solution.

  • Thanks, I have finished the challenge with your hint.

  •     public static void doStuff(int a){
        solve(1, 3, a);
    static void solve(int a, int b, int elements){
Contact Us
Sign in or email us at [email protected]