Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 880 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 880 Bytes

towerOfHanoi

by Carlos Flores & George Navarro

Design and analyze an algorithm for solving a variant of the Tower of Hanoi in C++.

Image of demo

Image of graph

The traditional rules for the Tower of Hanoi still stand: Each disc has a diameter that is larger than the discs above it on the stack. You can only move one disc at a time, you can only move a smaller disc onto a stack with larger discs. and you can only move discs by using edges in the directed graph.

Image of math Image of code More details can be found in the Analysis Report that is the pdf file included in this repository.