Nepedia
Back to Discover
Independent Reader
🔢

Hamiltonian path problem

math Maturity 11-13 Next article →

Imagine you have a map of dots and lines. You want to find a way to travel. You must visit every single dot on the map. You can only visit each dot one time. This is called a Hamiltonian path.

Hamiltonian Path Problem
Hamiltonian Path Problem

If you end your trip at the same dot where you started, it is called a Hamiltonian cycle. These puzzles are very hard for computers to solve. We call them NP-complete problems. This means they are among the toughest puzzles in math.

One way to solve them is a brute force search. This means checking every single possible path. This takes a very long time as you add more dots. Some people try new ways to solve them. For example, Leonard Adleman showed how to use DNA. He used chemical reactions to find a path. Other people have even tried using light and cables.

These puzzles help us in the real world. They can help computers move data across a chip. They can also help make 3D computer graphics faster. In graphics, finding a path helps order triangles correctly. This makes the computer work much faster.

187 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Hamiltonian Path Problem.jpg
Hamiltonian Path Problem.jpg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.