a) Each node has data and a pointer
b) Each node is colored accordingly
c) It is a binary search tree following heap principles
d) Each node has a fixed priority field
What is the reason behind the simplicity of a treap?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the reason behind the simplicity of a treap?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!