An open API service indexing awesome lists of open source software.

https://github.com/dbc2201/towerofhanoi


https://github.com/dbc2201/towerofhanoi

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Tower of Hanoi

## Java Programming Course

---

**Course 1**: Problem-Solving and Computational Thinking using Java

**Sprint 7**: Implementing Recursion

---

Problem Statement
---

Write a program in Java to calculate the minimum number of steps required to solve the Tower of Hanoi problem for `n`
disks.

---

Task
---

1. Open the [source code file](src/main/java/io/github/dbc/TowerOfHanoiSolver.java) and complete the code.
2. Open the [test case file](src/test/java/io/github/dbc/TowerOfHanoiSolverTest.java) and run the test cases to
check your code.

---

Fun Resource
---

1. [Tower of Hanoi Animation by Y. Daniel Liang](https://yongdanielliang.github.io/animation/web/TowerOfHanoi.html)
2. [Tower of Hanoi - Math is Fun](https://www.mathsisfun.com/games/towerofhanoi.html)