Remove duplicate elements: Difference between revisions
m
→ATS implementation for values containing a mutable seen flag
Line 553:
=={{header|ATS}}==
===
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.
|