This is the archived version of this course from the Spring 2013 semester. You might find something more recent by visitning my teaching page.
Examine Wikipedia and other various online sources for information on what a treap is. Cite your sources. Then show what happens when I start with an empty treap, and insert the following series of keys:
[10, 33, 61, 94, 82, 62, 38, 11]
with the following series of randomly-chosen priorities:
[.81, .16, .40, .25, .05, .95, .54, .51]