A treap is a cartesian tree with ___________

A treap is a cartesian tree with ___________ Correct Answer additional value, which is a priority value to the key generated randomly

A cartesian tree, if feeded with a sorted sequence will generate a straight path (or in tree terminology a skew tree). moreover a cartesian tree basing on same values from the search keys doesnot work well. so a cartesian tree with priority value in addition to search key is called treap.

Related Questions