Skip to content

Commit 3b8576e

Browse files
author
RandomUser
committed
Added Description
1 parent d165e32 commit 3b8576e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Python/Algorithms/Sorting-Algorithms/shell_sort.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Python program for implementation of Shell Sort
22

3+
# Shell sort is an algorithm that first sorts the elements far apart
4+
# from each other and successively reduces the interval
5+
# between the elements to be sorted. It is a generalized version of insertion sort.'''
6+
37
def shellSort(values):
48

59
# Start with a somewhat big gap, then reduce the gap

0 commit comments

Comments
 (0)