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