write a c++ program which has array in fifteen element of selection sort
Answers
Answered by
0
Answer:
helium
please mark as brainliest please follow
Answered by
0
Answer:
plz mark me brainliest
Explanation:
The selection sort algorithm sorts an array by repeatedly finding the minimum element (considering ascending order) from unsorted part and putting it at the beginning. The algorithm maintains two subarrays in a given array.
1) The subarray which is already sorted.
2) Remaining subarray which is unsorted.
In every iteration of selection sort, the minimum element (considering ascending order) from the unsorted subarray is picked and moved to the sorted subarray.
Similar questions
Biology,
1 month ago
Computer Science,
1 month ago
English,
1 month ago
Hindi,
3 months ago
English,
3 months ago
CBSE BOARD X,
10 months ago
Math,
10 months ago
Hindi,
10 months ago