Posts
First Journal
Shell Sort
Posted 2025-11-16 | *By : Cuneyt Yildirim *# Shell Sort
Problem Statement
Given an unsorted array of n elements, write a function to sort the array
Approach
- start with the initial gap, g
- go through the first (n - g) elements in the array
- compare the element with the next element that is …