Treap ( Self-Balancing Trees Insertion)

From Algorithm Wiki
Jump to navigation Jump to search

Time Complexity

$O(n)$

Space Complexity

$O({1})$? words

(^see above)

Description

Approximate?

Exact

Randomized?

Yes,

Model of Computation

Word RAM

Year

1989

Reference

http://faculty.washington.edu/aragon/pubs/rst89.pdf