//! First Non-Repeated Character (Generic, Hashable)
//!
//! Finds the first non-repeated element in a slice.
//!
//! # Type Parameters
//! * `T`: The element type. Must implement `Eq` + `Hash` + `Clone`.
//!
//! # Arguments
//! * `slice` - The slice to search.
//!
//! # Returns
//! * `Option<T>` - The first non-repeated element, or None if all are repeated.
//!
//! # Example
//! ```rust
//! use pofk_algorithm::set_algorithms::first_non_repeated::first_non_repeated;
//! let arr = ['a', 'b', 'c', 'a', 'b', 'd'];
//! assert_eq!(first_non_repeated(&arr), Some('c'));
//! ```
use HashMap;