Problem 3641 · Medium
Grow a window to the right and shrink it from the left whenever more than k values repeat inside it.
Open the interactive visualisation