Checkpoint: arrays, pointers, and windows
30 / 170Checkpoint: arrays, pointers, and windowsLesson 3 of 3About 17 min
What the last problem was actually testing, and what to do about whichever ones went badly.
In the balanced-subarray solution, zeros are counted as -1 and ones as +1. What does that transformation buy?
Select every question below that a prefix array answers better than a sliding window.