Fill to advance the left pointer by 1.
while total > k:
left ____ 1 # shrink the window
Answer: +=
left += 1 shrinks the sliding window from the left.
Play Problem Solving ▸
while total > k:
left ____ 1 # shrink the window
Answer: +=