//! 🪟 Sliding Window (Generic)
//!
//! Computes the maximum sum of any contiguous subarray of size `k`.
//!
//! # Type Parameters
//! * `T`: The element type. Must implement `Copy + std::ops::Add<Output = T> + PartialOrd + Default + Sub<Output = T>`.
//!
//! # Arguments
//! * `slice` - The slice to search.
//! * `k` - The window size.
//!
//! # Returns
//! * `Option<T>` - The maximum sum, or None if the slice is too small.
//!
//! # Example
//! ```rust
//! use pofk_algorithm::list_algorithms::sliding_window::sliding_window_max_sum;
//! let arr = [2, 1, 5, 1, 3, 2];
//! assert_eq!(sliding_window_max_sum(&arr, 3), Some(9));
//! ```