Skip to content
Snippets Groups Projects
Commit 6dea733b authored by nilsl99's avatar nilsl99
Browse files

Improved the docstrings

parent b01d3530
Branches
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ def HeapSort(array): ...@@ -5,7 +5,7 @@ def HeapSort(array):
Parameters Parameters
---------- ----------
array: list(*int) array: list[int]
a list containing the integers to be sorted a list containing the integers to be sorted
Returns Returns
...@@ -55,7 +55,7 @@ def InsertionSort(array): ...@@ -55,7 +55,7 @@ def InsertionSort(array):
Parameters Parameters
---------- ----------
array: list(*int) array: list[int]
a list containing the intergers to be sorted a list containing the intergers to be sorted
Returns Returns
...@@ -79,8 +79,8 @@ def CountingSort(array, k=None): ...@@ -79,8 +79,8 @@ def CountingSort(array, k=None):
Parameters Parameters
---------- ----------
array: list(*int) array: list[int]
a list containing the intergers to be sorted a list containing the (positive) intergers to be sorted
Returns Returns
------- -------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment