滑動窗口最大值(MONOTONIC DEQUE)
單調 Deque(存索引)
步驟 0 / 0
Time: O(n) Space: O(k)
k
3
結果
[ ]
當前
在 Deque 中
🎮 自訂測試
演算法說明
演算法 (C++)