diff --git a/Aufgabe02.py b/Aufgabe02.py index 91d69b8b7ccca278494176d06529e4020a86ff24..1aeca15b5c0b58dbc7817c7dc52965112e1ca9ef 100644 --- a/Aufgabe02.py +++ b/Aufgabe02.py @@ -1,5 +1,5 @@ def HeapSort(array): - '''Sort the array by using a max-heap. + '''Sorts the array by using a max-heap. Parameters ---------- @@ -49,7 +49,7 @@ def HeapSort(array): return sorted_array def InsertionSort(array): - '''Sort the array by inserting each element into an already sorted part of the array. + '''Sorts the array by inserting each element into an already sorted part of the array. Parameters ---------- @@ -73,7 +73,7 @@ def InsertionSort(array): return sorted_array def CountingSort(array, k=None): - '''Sort the array by counting the ocjence of each element in the array. + '''Sorts the array by counting the occurrence of each element in the array. Parameters ----------