GATE CS 2014 · Set-3 · Asymptotic Analysis & Recurrences

NAT · 2 marks · Problem PROG-DIVC-0190

Suppose we have a balanced binary search tree T holding n numbers. We are given two numbers L and H and wish to sum up all the numbers in T that lie between L and H. Suppose there are m such numbers in T. If the tightest upper bound on the time to compute the sum is \(O(n^{a}log^{b}n+m^{c}log^{d}n)\), the value of a + 10b + 100c + 1000d is .

Numerical answer (NAT).

Solve it on GATE DA practice →More Searching & Sorting Algorithms problems

Show the worked solutionOfficial GATE Answer Key: [110.0, 110.0].See full step-by-step discussion on GateOverflow: https://gateoverflow.in/2073/gate2014-3-39

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com