true if elem
is in the array
.
Assumes that the collection is sorted. Does not use built-in Scala's searching methods to avoid boxing/unboxing.
Linear intersection of two sorted arrays.
Linear union of two sorted arrays.
Linear union of two sorted arrays.
A sorted array containing only once each element that wast in either of two arrays.