← Microsoft questions
CodingMedium

Maximum distance between two 2D points

Filed under Microsoft

Given a list of 2D points, find the maximum Euclidean distance between any two distinct points in the set, and return the result rounded to 6 decimal places.

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.