pub fn rolling_max_deque(data: &[f64], window: usize) -> Vec<f64>
Deque-based rolling maximum - O(n) amortized complexity