//! Palindromic Substrings (Generic, Production-Grade)
//!
//! Counts the number of palindromic substrings in a sequence.
//!
//! # Type Parameters
//! * `T`: Value type. Must implement `PartialEq` + `Copy`.
//!
//! # Example
//! ```rust
//! use pofk_algorithm::dp_algorithms::palindromic_substrings::*;
//! let s = vec!['a', 'b', 'a'];
//! assert_eq!(palindromic_substrings(&s), 4);
//! ```