Minimum number in a sliding window of size w
Filed under Boomerang
The question
Given a stream of numbers and a window of size w, find the minimum number in the current window, optimized to O(n) time.
No write-up yet. Related questions below have one.
Related Boomerang questions
Collected from public candidate posts and coding forums. Updated Nov 2026.