Hamiltonian cycle

Look for a circular tour of a museum. Visit each room once, then return to the room where you started.

Choose a start and try neighbors in turn. At the last vertex check for a return edge. A simple undirected cycle needs at least three vertices.

Backtracking explores factorially many possibilities in the worst case. The scene supports up to 7 vertices.