intersection method

TreapOfInt intersection(
  1. TreapOfInt other
)
override

Returns the intersection of this treap and other.

Implementation

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