Hello there
I'm trying to learn treaps and I've been stuck for a while trying to figure out how merge and split functions work
and I've read somewhere that reverse operations on arrays can be done using treaps
any help explaining these topics would be appreciated :D