Problem 1548 · Hard

The Most Similar Path in a Graph

Choose a walk through an undirected graph that best matches a target sequence of names, minimising mismatched positions.

Open the interactive visualisation