How do you solve a selection sort?



How do you solve a selection sort?..

Answer / Gaurav Verma

In selection sort, you iterate over the array and for each iteration, find the minimum element from the rest of the unsorted elements. Swap the found minimum with the current position. Repeat until the entire array is sorted.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is nonlinear data?

1 Answers  


How do you use the sort function?

1 Answers  


Tell me about the different sorting techniques.

1 Answers   Visa,


Why it is important to have aligned addresses? What is the exception generated when there is a misaligned address?

1 Answers   Ciena,


How many parts are there in a declaration statement using data structures?

1 Answers  


How many types of linked list exist?

1 Answers  


Can you distinguish between ArrayList and Array?

1 Answers   QuestPond,


Does set allow null values?

1 Answers  


Whether Linked List is linear or Non-linear data structure?

1 Answers  


What do you mean by probing?

1 Answers  


Is list a data structure?

1 Answers  


Does arraylist have a tostring?

1 Answers  


Categories