Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged selection-sort
1.9k
views
2
answers
2
votes
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 ... it is aranging in ascending order.And option D is doing what question is saying.
Shubhanshu
1.9k
views
Shubhanshu
asked
Sep 24, 2017
Algorithms
algorithms
sorting
selection-sort
test-series
+
–
788
views
2
answers
0
votes
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]
naveen81
788
views
naveen81
asked
Jan 30, 2017
Algorithms
made-easy-test-series
algorithms
sorting
selection-sort
+
–
803
views
1
answers
1
votes
NPTEL MOOC
Why option (A) is not correct ?
mcjoshi
803
views
mcjoshi
asked
Aug 23, 2016
Algorithms
sorting
insertion-sort
selection-sort
nptel-quiz
+
–
10.0k
views
3
answers
8
votes
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$
ajit
10.0k
views
ajit
asked
Sep 20, 2015
Algorithms
isro2008
algorithms
sorting
selection-sort
+
–
10.4k
views
2
answers
37
votes
GATE CSE 2013 | Question: 6
Which one of the following is the tightest upper bound that represents the number of swaps required to sort $n$ numbers using selection sort?$O(\log n$)$O(n$)$O(n \log n$)$O(n^{2}$)
Arjun
10.4k
views
Arjun
asked
Sep 23, 2014
Algorithms
gatecse-2013
algorithms
sorting
easy
selection-sort
+
–
28.3k
views
2
answers
30
votes
GATE CSE 2009 | Question: 11
What is the number of swaps required to sort $n$ elements using selection sort, in the worst case?$\Theta(n)$\Theta(n \log n)$\Theta(n^2)$\Theta(n^2 \log n)$
Kathleen
28.3k
views
Kathleen
asked
Sep 22, 2014
Algorithms
gatecse-2009
algorithms
sorting
easy
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