Problem 159 · Medium
Find the longest substring with at most two distinct characters.
Open the interactive visualisation