//! Combinations (Generic, Production-Grade)
//!
//! Generates all possible combinations of k elements from a set.
//!
//! # Type Parameters
//! * `T`: Value type. Must implement `Clone`.
//!
//! # Example
//! ```rust
//! use pofk_algorithm::backtracking_algorithms::combinations::*;
//! let nums = vec![1, 2, 3, 4];
//! let combs = combinations(&nums, 2);
//! assert_eq!(combs.len(), 6);
//! ```