Min Cost to Connect All Points — Shortest Paths & MST

Choose connections between desks on a coordinate grid so all can reach each other at the lowest total grid-distance cost.

Shortest Paths & MST · Medium

More in Shortest Paths & MST

All algorithm problems