Coding

Optimal Meeting Point

Calculate the optimal meeting point for multiple people on a 2D grid.

Input: grid = [[1,0],[0,1]]

Output: 2

Explanation: The optimal meeting point is either (0,1) or (1,0), requiring exactly 1 step from each person resulting in a total distance of 2.

Was asked at

Practice this question with AI

First session is free - no credit card required.

Go Premium

More interviews, more skills, more success.

No answers yet

Be the first to share your approach to this question

Practice More Questions

Interview question asked to Software Engineers interviewing at OneTrust, Lattice, SAP Concur and other companies. Original question asked: Optimal Meeting Point.