Find the City With the Fewest Neighbors at a Threshold Distance — Graph Extras

Pick the town with the fewest others within a set travel budget, breaking ties toward the one with the greatest label.

Graph Extras · Medium

More in Graph Extras

All algorithm problems