Skip to content

Commit 5c0973e

Browse files
committed
docstring added
1 parent cea6a35 commit 5c0973e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pygorithm/sorting/merge_sort.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ def sort(_list):
4949
return merge(a, b)
5050

5151
def sort_iter(_list):
52-
pass
52+
"""
53+
Function to sort an array
54+
using merge sort algorithm, iteratively
55+
56+
:param _list: list of values to sort
57+
:return: sorted
58+
"""
59+
pass
5360

5461
# TODO: Are these necessary?
5562
def time_complexities():

0 commit comments

Comments
 (0)