{"id":"nearest-valid-point-fused-filter-reduce","text":"`nearestValidPoint` fuses the validity filter and argmin reduction into a single O(n) pass with O(1) space — no intermediate filtered list, no sorting.","truth_value":"IN","source":"entries/2026/06/06/find-nearest-point-that-has-the-same-x-or-y-coordinate-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"nearest-valid-point-fused-filter-reduce","truth_value":"IN","reason":"premise"}]}}