$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #16

Fill to advance the left pointer by 1.

while total > k:
    left ____ 1   # shrink the window

Answer: += (also accepted: +=)

left += 1 shrinks the sliding window from the left.
Play Problem Solving ▸