1,332 views
0 0 votes

Please log in or register to answer this question.

Position:
Show:

Related questions

0 0 votes
3 3 answers
2.1k
2.1k views
pankaj_vir asked Oct 10, 2018
2,119 views
What is the total number of comparisons needed in the best case to find minimum and maximum of $300 $ elements?
1 1 vote
2 2 answers
2.2k
2.2k views
radha gogia asked Aug 7, 2018
2,190 views
Consider the following algorithm for searching for a given number $x$ in an unsorted array $A[1 \ldots n]$ having $n$ values :1. Sequentially choose $i$ from 1 to $n$2. i...
2 2 votes
2 answers 2 answers
1.8k
1.8k views
iarnav asked Mar 30, 2018
1,773 views
The minimum number of comparisons required to find the minimum and the maximum of 101 numbers is ________.When n is even then it's relatively easy, but how to deal with n...
1 1 vote
1 1 answer
1.4k
1.4k views
Rajesh R asked Nov 9, 2017
1,433 views
Atmost how many comparisons are required to find out min and max in an array of n elements where n is even ?Answer is atmost 1.5n - 2 comparisons.For n=6, I tried manuall...