Sulba
ReviewSign inAccount
Theme
Editor theme
Light
Dark

Beginner · Coding interviews

Sliding windows

Five interview problems solved by a window that slides along a list or a text: the best window, no repeats, reaching a total, at most k kinds and the smallest cover.

You build
windows.py, then no_repeats.py, then reach.py, then kinds.py, then cover.py
Stages
5 Problems
Time
About 2 hours

Loading the workspace…