edited by
1,137 views
0 votes
0 votes

The second smallest of $n$ elements can be found with ____ comparisons in the worst case.

  1. $n-1$
  2. $\lg \: n$
  3. $n + ceil(\lg \: n)-2$
  4. $\frac{3n}{2}$
edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
1
Arjun asked Jan 2, 2019
4,405 views
Consider the graph shown below:Use Kruskal’s algorithm to find the minimum spanning tree of the graph. The weight of this minimum spanning tree is$17$$14$$16$$13$
1 votes
1 votes
1 answer
2
Arjun asked Jan 2, 2019
3,747 views
Consider two sequences $X$ and $Y$ :$X=<0, 1, 2, 1, 3, 0, 1>$$Y=<1, 3, 2, 0, 1, 0>$The length of longest common subsequence between $X$ and $Y$ is$2$$3$$4$$5$
0 votes
0 votes
1 answer
3
Arjun asked Jan 2, 2019
1,762 views
Match $\text{List I}$ with $\text{List II}$ and choose the correct answer from the code given below.$\begin{array} {clcl} & \textbf{List I} & & \textbf{List II} \\ & \...