The algorithm proceeds by finding the smallest (or largest, depending on What are the steps for selection sort?
4 years ago
Data Structure and Algorithm
- sorting order) element in the unsorted sublist, exchanging it with the leftmost unsorted element (putting it in sorted order), and moving the sublist boundaries one element to the
Sanisha Maharjan
Jan 23, 2022