Search⌘ K
AI Features

Shortest Path Visiting All Nodes

Shortest Path Visiting All Nodes gives an undirected connected graph and asks for the minimum number of edges in a walk that visits every node, with any start, end, and repeated visits allowed.

Statement

You are given an undirected connected graph with n nodes numbered from ...