Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged selection-sort
2
votes
2
answers
1
Algorithm: Selection Sort
Consider the following code which sort all elements of an array A' in descending order. Which of the following will represents correct value of X, Y, Z in above code for selection sort? a. i > 0, K > 0, a[K] > a[max] b. i ... the array in the descending order but by using option a it is aranging in ascending order. And option D is doing what question is saying.
Consider the following code which sort all elements of an array ‘A’ in descending order.Which of the following will represents correct value of X, Y, Z in above code ...
Shubhanshu
1.8k
views
Shubhanshu
asked
Sep 24, 2017
Algorithms
algorithms
sorting
selection-sort
test-series
+
–
0
votes
2
answers
2
MadeEasy Subject Test: Algorithms - Sorting
a. i>0,K>0, a[K]> a[max] b. i>0,K<0, a[K]< a[max] c. i<0,K>0, a[K]> a[max] d. i>0,K>0, a[K]< a[max]
a. i>0,K>0, a[K] a[max]b. i>0,K<0, a[K]< a[max]c. i<0,K>0, a[K] a[max]d. i>0,K>0, a[K]< a[max]
naveen81
713
views
naveen81
asked
Jan 30, 2017
Algorithms
made-easy-test-series
algorithms
sorting
selection-sort
+
–
1
votes
1
answer
3
NPTEL MOOC
Why option (A) is not correct ?
Why option (A) is not correct ?
mcjoshi
742
views
mcjoshi
asked
Aug 23, 2016
Algorithms
sorting
insertion-sort
selection-sort
nptel-quiz
+
–
7
votes
3
answers
4
ISRO2008-77
How many comparisons are needed to sort an array of length $5$ if a straight selection sort is used and array is already in the opposite order? $1$ $10$ $15$ $20$
How many comparisons are needed to sort an array of length $5$ if a straight selection sort is used and array is already in the opposite order?$1$$10$$15$$20$
ajit
9.7k
views
ajit
asked
Sep 20, 2015
Algorithms
isro2008
algorithms
sorting
selection-sort
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register