GATE CS 2003 · Asymptotic Analysis & Recurrences

MCQ · 1 mark · Problem PROG-DIVC-0197

Let T(n) be the number of different binary search trees on n distinct elements. Then \(T(n)=\sum_{k=1}^{n}T(k-1)T(x)\),where \(x\) is
  1. A
    n-k+1
  2. B
    n-k
  3. C
    n-k-1
  4. D
    n-k-2

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

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/897/gate2003-6

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