Open johnlivingprooff opened 9 months ago
a function that sorts an array of integers in ascending order using the Shell sort algorithm, using the Knuth sequence
Ok let's check out it
Two checks having red <<<>>
What do you think of this edge case:
if (!array || size < 2) return;
a function that sorts an array of integers in ascending order using the Shell sort algorithm, using the Knuth sequence