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