InterviewDB Question

Find Perfect Location: Find the Optimal Meeting Point on a 2D Map

Question Details

Problem Given n people at positions on a 2D grid, find the location that minimizes the total travel distance (Manhattan distance) for all of them to meet. The meeting point does not need to be at an existing person's location. Example Follow-ups Prov…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone