Status: IN
A point is valid in `nearestValidPoint` if it shares the x-coordinate OR the y-coordinate with the query (not necessarily both) — an easy-to-misread detail of the problem contract.
Source: entries/2026/06/06/find-nearest-point-that-has-the-same-x-or-y-coordinate-solution.md