Problem 395 · Medium
Find the longest substring where every character appears at least k times.
Open the interactive visualisation