top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How does selection sort work?

+3 votes
367 views
How does selection sort work?
posted Apr 9, 2015 by Alwaz

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Selection sort works by picking the smallest number from the list and placing it at the front. This process is repeated for the second position towards the end of the list. It is the simplest sort algorithm.

answer Apr 10, 2015 by Mohammed Hussain
Similar Questions
+2 votes

Can someone share the C code for selection or bubble sort for string. String comparison should be based on dictionary comparison.

0 votes

both seems to be same, can someone explain the difference with example and complexity?

+3 votes

1) Implement both algorithms
2) Test both on three cases of data:
a) sorted in increase order,
b) sorted in decrease order,
c) randomly
3) Use data of different sizes: 10000, 100000, 1000000.

+3 votes

I went through 36.331 spec, there are various terms such as Srxlev, Q-hyst and so on are used.
Can someone please give a brief overview of all the terms used during the cell selection and cell re-selection procedure ?

...