{"id":"bisect-two-neighbor-sufficiency","text":"After `bisect_left` on sorted `arr2`, checking only `arr2[pos]` and `arr2[pos-1]` is sufficient to determine if any element is within distance `d` of `val` — all other elements are provably farther away.","truth_value":"IN","source":"entries/2026/06/06/find-the-distance-value-between-two-arrays-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"bisect-two-neighbor-sufficiency","truth_value":"IN","reason":"premise"}]}}