intersection method

TreapOfInt intersection(
  1. TreapOfInt other
)

Returns the intersection of this treap and other.

Implementation

TreapOfInt intersection(TreapOfInt other) =>
    TreapOfInt._(base.intersection(other.base));