N
Hacker Next
new
past
show
ask
show
jobs
submit
login
▲
Treap (Cartesian Tree)
(
cp-algorithms.com
)
15 points by
vismit2000
3 days ago
|
2 comments
add comment
Rendered at 07:54:51 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
sparkilyshpark 11 minutes ago
[-]
this is non-rotation treap (fhq treap), it is more common among competitive programming folks, for other cs folks, i believe the rotating variant is more popular:
https://www.cs.umd.edu/class/spring2022/cmsc420-0101/Lects/l...
vismit2000 2 hours ago
[-]
A very nice problem solved using treap:
https://stackoverflow.com/questions/79751600/solve-cses-moun...
2 hours ago
[-]