retagged by
765 views

1 Answer

Best answer
3 votes
3 votes
Worst case searching time in BST for $n$ elements $=O(n).$

$2^{\log_2 n} = n$ {using $\log$ property)

Now  $n^{x\log y} = n$ for $x=1$ and $y=2.$

So, answer = $x+y = 3.$
selected by
Answer:

Related questions

447
views
1 answers
1 votes
Bikram asked May 14, 2017
447 views
In a height balanced binary search tree, the heights of the left and right descendants of any node differ at most by $1.$ Which of the following statements are TRUE for s...
410
views
1 answers
0 votes
Bikram asked May 14, 2017
410 views
Consider an initially empty hash table of length $10$. Following set of keys are inserted using open addressing with hash function $h\left ( k \right )=k\mod 10$ and line...
409
views
1 answers
1 votes
Bikram asked May 14, 2017
409 views
An $m-ary$ tree is a tree in which every node has at most $m$ children. In an $m-ary$ tree with $p$ nodes and height $l$ $($starting from $0)$, which of the following is ...
787
views
1 answers
2 votes
Bikram asked May 14, 2017
787 views
Consider the following statements:$S_1$: If a STACK is implemented through a LINKED LIST, $\text{PUSH}$ operation will take $O\left ( 1 \right )$ time and $\text{POP}$ op...