Complement lookup [mp]
Micro pattern¶
Description¶
Rearrange a desired equation into a lookup for the complement of the current value or aggregate.
Problems¶
- 1. Two Sum (Top Easy)
- 454. 4Sum II (Top Hard)
Rearrange a desired equation into a lookup for the complement of the current value or aggregate.