A self – balancing binary search tree can be used to implement ________

Nam Lê

Member
A self – balancing binary search tree can be used to implement ________
A. Priority queue
B. Hash table
C. Heap sort
D. Priority queue and Heap sort
 
Answer: a
Explanation: Self-balancing binary search trees can be used to construct and maintain ordered lists, to achieve the optimal worst case performance. So, self – balancing binary search tree can be used to implement a priority queue, which is ordered list.
 

Tìm kiếm

Back
Top