51,566 views
126 126 votes

The tightest lower bound on the number of comparisons, in the worst case, for comparison-based sorting is of the order of

  1. $n$
  2. $n^2$
  3. $n \log n$
  4. $n \log^2n$

8 Answers

0 0 votes

Am I thinking it in correct way?
Any comparision based algorithm , will take in worst case minimum nlogn comparisons right and maximum n^2

So with this we can safely say answer is C.

Answer:
Position:
Show:

Related questions

8 8 votes
6 6 answers
3.8k
3.8k views
Arjun asked Feb 27, 2025
3,820 views
Suppose that insertion sort is applied to the array $[1,3,5,7,9,11, x, 15,13]$ and it takes exactly two swaps to sort the array. Select all possible values of $x$.$10$$12...
60 60 votes
7 answers 7 answers
20.5k
20.5k views
Kathleen asked Sep 18, 2014
20,498 views
Two matrices $M_1$ and $M_2$ are to be stored in arrays $A$ and $B$ respectively. Each array can be stored either in row-major or column-major order in contiguous memory ...
16 16 votes
7 answers 7 answers
14.9k
14.9k views
Kathleen asked Sep 18, 2014
14,901 views
The problem $\text{3-SAT}$ and $\text{2-SAT}$ are both in $\text{P}$both $\text{NP}$ complete$\text{NP}$-complete and in $\text{P}$ respectivelyundecidable and $\text{NP}...
55 55 votes
6 answers 6 answers
14.1k
14.1k views
Kathleen asked Sep 18, 2014
14,122 views
The following finite state machine accepts all those binary strings in which the number of $1$’s and $0$’s are respectively: divisible by $3$ and $2$odd and eveneven ...