map/first_non_repeated_element library
Functions
-
firstNonRepeatedElement<
T> (List< T> input) → T? - Finds the first non-repeated character in a generic list of elements.
-
printResult<
T> (List< T> input) → void - Helper function to print the result for a list of generic elements.