Remove duplicate elements: Difference between revisions

m
Line 553:
=={{header|ATS}}==
 
=== ATSATS2 implementation for values containing a mutable ''seen'' flag ===
 
This method runs O(n) in the number of elements. It can be useful when you are working with references to complicated data structures. It works only if the array contains references to structures, rather than the structures themselves.
1,448

edits