https://github.com/dbc2201/towerofhanoi
https://github.com/dbc2201/towerofhanoi
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dbc2201/towerofhanoi
- Owner: dbc2201
- Created: 2022-07-03T21:31:01.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T21:57:02.000Z (almost 4 years ago)
- Last Synced: 2025-04-06T02:32:29.433Z (over 1 year ago)
- Language: Java
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)