intersection method

Treap<T> intersection(
  1. Treap<T> other
)
override

Returns the intersection of this treap and other.

Implementation

Treap<T> intersection(Treap<T> other) =>
    Treap._(base.intersection(other.base));