distance-value-sort-bisect-complexity

Status: IN

`findTheDistanceValue` runs in O(m log m + n log m) time via sort + binary search, versus O(n*m) for brute-force nested loop.

Source: entries/2026/06/06/find-the-distance-value-between-two-arrays-solution.md

JSON