two-sum-complement-lookup-pattern

Status: IN

`twoSum` uses a hash map keyed by value (not index) to check whether the complement `target - num` has been seen, which is the canonical O(n) complement lookup idiom

Source: entries/2026/06/06/two-sum-solution.md

Depended on by

JSON