intersection method
Returns a new treap containing only items present in both this treap and other
.
Implementation
TreapOfString intersection(TreapOfString other) =>
TreapOfString._(base.intersection(other.base));
Returns a new treap containing only items present in both this treap and other
.
TreapOfString intersection(TreapOfString other) =>
TreapOfString._(base.intersection(other.base));