GET TUTORING NEAR ME!

By providing your phone number, you consent to receive text messages from Club Z! for purposes related to our services. Message frequency may vary. Message and Data Rates may apply. Reply HELP for help or STOP to unsubscribe. See our Privacy Policy and our Terms and Conditions page

    Home / Get Math Help

    Unsorted Union

    Definition

    The unsorted union of a list S is a list containing the same elements as S but with the second and subsequent occurrence of any given element removed. For example, the unsorted union of the set {1, 3, 3, 2, 1, 3, 4} is {1, 3, 2, 4}. The unsorted union differs from the usual union {1, 2, 3, 4} in that the elements of the unsorted union are not necessarily ordered. The unsorted union is implemented in the Wolfram Language as DeleteDuplicates[list]. It can be implemented in the Wolfram Language top-level code as: UnsortedUnion1[x_] := Tally[x][[All, 1]]

    Related terms
    Related Wolfram Language symbol

    DeleteDuplicates