Sorting

Key concepts

  • Sorting: arrange elements in ascending or descending order by key
  • Stability: equal elements keep their relative order
  • Time complexity and space complexity

Chapters