https://www.codinginterview.net/2023/05/treap.html