What is the depth of any tree if the union operation is performed by height?
(a) O(N)
(b) O(log N)
(c) O(N log N)
(d) O(M log N)
My doubt is from Trees topic in division Trees of Data Structures & Algorithms I
I had been asked this question in semester exam.