service/searching/findFirstDuplicateByIndex/find_first_duplicate_by_index library
Functions
-
findFirstDuplicateByIndex<
T> (List< T> list) → T - Returns the first duplicate element found in the list based on the earliest second occurrence (lowest second index). Uses deep equality for complex objects. Throws ArgumentError if no duplicates found.
-
main(
) → void