in Unknown Category edited by
1,123 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}$
in Unknown Category edited by
by
1.1k views

3 Comments

1
1

@Shaik Masthan

here ans will be C)

0
0
yes mam, due to we have to add (n-1) comparissions which required to know which is first minimum.
0
0

Please log in or register to answer this question.

Related questions