Q13a
NATMarks unknownConsider the height-balanced tree with values stored at only the leaf nodes, shown in Fig

(i) Show how to merge to the tree, elements from tree shown in Fig using node D of tree .

(ii) What is the time complexity of a merge operation of balanced trees and where and are of height and respectively, assuming that rotation schemes are given. Give reasons.
Sign in to save attempts.
Loading…