AdvancedVocabulary#software-architecture#developer-tools#backend

Treap Vocabulary

Build fluency in the vocabulary of a binary search tree kept balanced on average via randomly assigned node priorities.

0 / 5 completed
1 / 5
At standup, a dev mentions a binary search tree where every node also carries a random priority, and the tree is kept heap-ordered on those priorities using rotations, so the tree stays balanced on average without any explicit balancing rules. What is this structure called?