ARRAYS · CATEGORY
Classic interview problems that turn the array techniques into solutions.
Kadane: largest contiguous sum (#53).
Best single buy/sell profit (#121).
Push 0s to the end, keep order (#283).
Two-pointer max area (#11).
Dutch flag — 0/1/2 in one pass (#75).
Unique prefix of a sorted array (#26).
Boyer–Moore voting (#169).