Coding prefix sum
Subarray Sum Equals K
LC 560. Prefix frequency map. Call out why sliding window fails with negatives.
LC 560. Prefix frequency map. Call out why sliding window fails with negatives.
LC 128. Only start a run at the head of a sequence. O(n) claim must be earned.
What you actually give up in a partition. Avoid the textbook slogan.
Read-your-writes, session, bounded staleness. Pick one product example each.