What are the steps for selection sort?

  • The algorithm divides the input list into two parts: the sublist of items already sorted, which is built up from left to right at the front (left) of the list, and the sublist of items remaining to be sorted that occupy the rest of the
  • Initially, the sorted sublist is empty and the unsorted sublist is the entire input
Sanisha Maharjan
Jan 23, 2022
More related questions

Questions Bank

View all Questions

Top