Computer Science, asked by Attitude2911, 8 months ago

Heya❣
✒Explain how Selection sort technique works in a single Dimensional ARRAY??
➡ReLevant answer is expected✌...

Answers

Answered by ItzMADARA
2

Selection sort is another algorithm that is used for sorting. This sorting algorithm, iterates through the array and finds the smallest number in the array and swaps it with the first element if it is smaller than the first element. Next, it goes on to the second element and so on until all elements are sorted.

The selection sort is a combination of searching and sorting. During each pass, the unsorted element with the smallest (or largest) value is moved to its proper position in the array. The number of times the sort passes through the array is one less than the number of items in the array.

If you satisfy on my answer please mark it BRAINLIEST ✏️✏️ mark it BRAINLIEST.

.

Answered by mananmadani53
1

Answer:

Selection sort is another algorithm that is used for sorting. This sorting algorithm, iterates through the array and finds the smallest number in the array and swaps it with the first element if it is smaller than the first element. Next, it goes on to the second element and so on until all elements are sorted.

Explanation:

please mark as brainlist

Similar questions