nearest-valid-point-returns-first-index-on-tie

Status: IN

When multiple valid points share the minimum Manhattan distance, `nearestValidPoint` returns the smallest index because it uses strict `<` comparison (first occurrence is kept).

Source: entries/2026/06/06/find-nearest-point-that-has-the-same-x-or-y-coordinate-solution.md

JSON