Leetcode 1515. Best Position for a Service Centre
Find the geometric median of up to 50 2D points — the point that minimizes the sum of Euclidean distances to all customers — and return that minimum total distance (answers within 1e-5 accepted).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.