InterviewSolution
Saved Bookmarks
| 1. |
Cartesian trees are most suitable for?(a) searching(b) finding nth element(c) minimum range query and lowest common ancestors(d) self balancing a treeI need to ask this question from Cartesian Tree in chapter Binary Trees of Data Structures & Algorithms IThe question was posed to me in quiz. |
|
Answer» Correct option is (c) minimum range QUERY and lowest common ancestors |
|