@thom.code: Gnome Sort Gnome Sort is a simple sorting algorithm that works by repeatedly comparing adjacent elements and swapping them when they are out of order. It moves backward after a swap, making it similar to Insertion Sort but with swaps instead of shifting elements. Time Complexity: O(n²) average/worst Best Case: O(n) Space Complexity: O(1) In-place: Yes #GnomeSort #SortingAlgorithms #Algorithms #DataStructures #Programming