862 views
1 1 vote

If in this question, if we were asked to find the nth smallest number, then what would have been the answer?

1 Answer

Position:
Show:

Related questions

145 145 votes
11 answers 11 answers
52.6k
52.6k views
Disha asked Sep 19, 2014
52,588 views
In a min-heap with $n$ elements with the smallest element at the root, the $7^{th}$ smallest element can be found in time$\Theta (n \log n)$$\Theta (n)$$\Theta(\log n)$$\...
0 0 votes
0 0 answers
684
684 views
A_i_$_h asked Dec 18, 2017
684 views
A program takes as input a balanced binary search tree with n leaf nodes and computes the value of a function g(x) for each node x. If the cost of computing g(x) is: min...
1 1 vote
1 answers 1 answer
1.9k
1.9k views
shikharV asked Nov 15, 2015
1,904 views
In circular linked list, insertion of a node at the end involves pointer modification:(A) one(B) two(C) three(D) none
1 1 vote
0 0 answers
1.1k
1.1k views
Ajit J asked Dec 30, 2018
1,101 views
The complexity of this program? int fun1 (int n) { int i, j, k, p, q = 0; for (i = 1; i < n; ++i) { p = 0; for (j = n; j 1; j = j/2) { p++; for (k = 1; k < p; k = k * ...