Open chshersh opened 5 years ago
It's possible to delay operations in Treap (like: _add x to every element) to have O(log n) time. We just need to think how to do this...
Treap
x
O(log n)
It's possible to delay operations in
Treap
(like: _addx
to every element) to haveO(log n)
time. We just need to think how to do this...