← Microsoft questions
CodingMedium

Largest Distance Between 2D Locations

Filed under Microsoft

Given an array of 2D coordinates `points`, find the maximum Manhattan distance between any pair of points. The Manhattan distance between points (x1, y1) and (x2, y2) is defined as |x1 - x2| + |y1…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.