From d9e3646bf64ce497b8b95a039e7ad784bd753122 Mon Sep 17 00:00:00 2001 From: Nils Liebreich <nilsl99@zedat.fu-berlin.de> Date: Sun, 6 Nov 2022 13:57:16 +0100 Subject: [PATCH] Fixed spelling mistakes --- Aufgabe02.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Aufgabe02.py b/Aufgabe02.py index 91d69b8..1aeca15 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 ---------- -- GitLab