copy method
Returns a copy of this treap.
This is an O(1) operation as it only copies the root reference.
Implementation
TreapOfDouble copy() => TreapOfDouble._(base.copy());
Returns a copy of this treap.
This is an O(1) operation as it only copies the root reference.
TreapOfDouble copy() => TreapOfDouble._(base.copy());