Treap

In computer science, a treap is a binary search tree that orders the nodes by adding a random number priority attribute to a node, as well as a key. The nodes are ordered so that the keys form a binary search tree and the priorities obey the min heap order property.
  • If v is a left child of u, then keyv < keyu;
  • If v is a right child of u, then keyv > keyu;
  • If v is a child of u, then priorityv > priorityu;
(priorityv > priorityu means u was inserted before v)
Treaps exhibit the properties of both binary search trees and heaps.

External links

 

<< PreviousWord BrowserNext >>
chandragupta ii
killifish
dollywood
acrosome
camberley
schwarzwald baar
zemun
tom rukavina
continental basketball association
sen no rikyu
quirks and quarks
frederick james furnivall
battle of lake erie
hrlf kraki
derek bentley
ideas (radio show)
witten
lecco
slug
bound (movie)
list of slovenian mathematicians
list of slovenian language poets
maracaibo
list of developmental and minor sports leagues
mackenzie river
ampex
tying
united states basketball league
dumping
redhead (duck)
paullus
tony award for best musical
bend it like beckham
canvasback
leonard adleman
royal radar establishment
dstl
shamir
who moved my cheese?
steyr aug
keira knightley
hector louis langevin
responsibility assumption
ternary logic