Treap (Cartesian Tree)

cp-algorithms.com

14 points by vismit2000 3 days ago


vismit2000 - 2 hours ago

A very nice problem solved using treap: https://stackoverflow.com/questions/79751600/solve-cses-moun...

- 2 hours ago
[deleted]