InterviewSolution
Saved Bookmarks
| 1. |
What is the disadvantage of using splay trees?(a) height of a splay tree can be linear when accessing elements in non decreasing order.(b) splay operations are difficult(c) no significant disadvantage(d) splay tree performs unnecessary splay when a node is only being readThe doubt is from Splay Tree topic in section Binary Trees of Data Structures & Algorithms II got this question during an interview for a job. |
|
Answer» The CORRECT option is (a) height of a SPLAY tree can be LINEAR when accessing elements in non decreasing order. |
|