
Add one delivery center to minimize the worst distanceCodingA grid marks delivery centers with 1 and ordinary locations with 0. The distance between two cells is max(|r1 - r2|, |c1 - c2|), so moving diagonally counts as one step.
Last asked Nov 2026



+2


+4
+1


+1
+2
+1

+1
+1
+1
+10
+1

+1





+1
+1






+1





+1






+2




















+1

+1



