two-sum-iii-add-find-asymmetry

Status: IN

`TwoSum` optimizes `add()` to O(1) at the cost of O(n) `find()`; the inverse tradeoff (precompute all sums on add, O(1) find) would be better when finds dominate.

Source: entries/2026/06/06/two-sum-iii-data-structure-design-solution.md

Depended on by

JSON