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

Improved the docstrings

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