Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Part1 ¶
Part1 returns the largest area, defined as the constant Manhattan distance-radius around one of the input points, that is not infinite.
Important idea: keep track of the furthest left, right, top, and bottom coordinates. If the area for a given point goes beyond one of those coordinates, then its area is infinite.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.