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 |
What is nonlinear data?
How do you use the sort function?
Tell me about the different sorting techniques.
Why it is important to have aligned addresses? What is the exception generated when there is a misaligned address?
How many parts are there in a declaration statement using data structures?
How many types of linked list exist?
Can you distinguish between ArrayList and Array?
Does set allow null values?
Whether Linked List is linear or Non-linear data structure?
What do you mean by probing?
Is list a data structure?
Does arraylist have a tostring?