Selection sort

→ Find smallest → Swap with index at start of search

selectionsort.gif
Untitled
  • Time complexity : $O(n^2)$

  • Unstable

    Untitled
Untitled

Last updated