Skip to content

Designing and analyzing an algorithm for solving a variant of the Tower of Hanoi

Notifications You must be signed in to change notification settings

cflores713/towerOfHanoi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Designing and analyzing an algorithm for solving a variant of the Tower of Hanoi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages