pub fn intset_union(lhs: &mut Vec<i32>, rhs: &[i32])
Replace lhs with the sorted union of lhs and rhs.
lhs
rhs
Both inputs must already be sorted ascending; duplicates within an input are collapsed in the result. Runs in O(n + m).
O(n + m)