Spot the bug: Sliding window whose left edge jumps backwards

medium
Sliding window

Bug 6 of 12

This Python solution is supposed to do the following: Return the length of the longest substring of s with no repeated characters. It has one bug. Find the line in two tries.

Tap the line with the bug

2 tries left

FAQ