Search⌘ K
AI Features

Best Meeting Point

Best Meeting Point gives a grid where ones mark friends' homes. Choose a meeting location that minimizes the sum of their Manhattan travel distances.

Statement

You are given a 2D grid of size ...