1.

What is the longest length path for a node x in random binary search tree for the insertion process?(a) log x(b) x^2(c) x!(d) 4.311 log xMy enquiry is from Binary Trees in division Binary Trees of Data Structures & Algorithms II got this question during an interview.

Answer»

Right option is (d) 4.311 log X

Best explanation: Although it is difficult to find the length of the longest PATH in randomized binary search tree, but it has been found that the longest length is around 4.311 log x.



Discussion

No Comment Found

Related InterviewSolutions