NAT · 2 marks · Tree Data Structures
GATE CS 2014 CS-3 — Q39
Suppose 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 ____.