Skip to content

A brute force algorithm written in Python to find Hamiltonian cycles in square grids.

License

Notifications You must be signed in to change notification settings

suranwarnakulasooriya/Hamiltonian_Cycles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hamiltonian_Cycles

A brute force algorithm written in Python to find Hamiltonian cycles in square grids. Being brute force, it can only compute for grids with a side length of up to 4. No machine can compute the 2,958,148,142,320,582,656 graphs that this algorithm demands for even a side length of 6. This project is an exploration of algorithm design, computational complexity, and graph traversal, not optimization.

About

A brute force algorithm written in Python to find Hamiltonian cycles in square grids.

Topics

Resources

License

Stars

Watchers

Forks

Languages