Q39
NAT2 marksData structuresMediumSuppose we have a balanced binary search tree holding numbers. We are given two numbers and and wish to sum up all the numbers in that lie between and . Suppose there are such numbers in . If the tightest upper bound on the time to compute the sum is , the value of is ______.
Sign in to save attempts.
Keys: Enter checks, ← → move between questions.
The solution is hidden while you attempt this question. It opens once you check or show the answer.