intset_union

Function intset_union 

Source
pub fn intset_union(lhs: &mut Vec<i32>, rhs: &[i32])
Expand description

Replace lhs with the sorted union of lhs and rhs.

Both inputs must already be sorted ascending; duplicates within an input are collapsed in the result. Runs in O(n + m).