I l@ve RuBoard Previous Section Next Section

set_symmetric_difference()

set_symmetric_difference() constructs a sorted sequence of the elements that are present in the first sequence but not present in the second, and those elements present in the second sequence are not present in the first. For example, given the two sequences {0,1,2,3} and {0,2,4,6}, the set symmetric difference is {1,3,4,6}.

    I l@ve RuBoard Previous Section Next Section