i
nsyte
Explore
Community
GitHub
Dev
Settings
Sign In
Code
Explanation
Step through to reveal explanations.
-- / --
0.5x
1x
1.5x
2x
Build first window
?
nums
1
3
-1
-3
5
3
6
7
0
1
2
3
4
5
6
7
Monotonic deque (indices)
← dequeue
queue
enqueue →
— empty —
front
back
Code
Visual
-- / --
0.5x
1x
1.5x
2x
Build first window
?
nums
1
3
-1
-3
5
3
6
7
0
1
2
3
4
5
6
7
Monotonic deque (indices)
← dequeue
queue
enqueue →
— empty —
front
back
Challenges
3