chevron_leftSorting All topics

Shell Sort

98375641

Shell sort is insertion sort that stops crawling. It compares values far apart first, so a small value stuck at the end can leap most of the way home in a single move.

step 01/38

  • comparing
  • moving
  • in final place

Practice

spec · json ↗