English version is in beta. All contents of the site should be already translated (mostly using machine translation), and everything should work properly. However, if you find any problems, please contact me.

Cartesian tree (treap)

To begin with, read about binary search trees, well, or else here. You don't have to (yet) be able to write them, but just understand what it is and how it works.

Theory on e-maxx
Theory on the ITMO website
You can still Google