From 93111451ceb3a8e7e827fd52b38f36f37528d595 Mon Sep 17 00:00:00 2001 From: Nils Liebreich <nilsl99@zedat.fu-berlin.de> Date: Wed, 2 Nov 2022 14:48:35 +0100 Subject: [PATCH] Updated the docstring of HeapSort --- Aufgabe02.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Aufgabe02.py b/Aufgabe02.py index 2b46fa4..066db77 100644 --- a/Aufgabe02.py +++ b/Aufgabe02.py @@ -1,7 +1,5 @@ def HeapSort(array): - '''Update the board according to the move and the player. If player 0 does - the move, set the board cell to -1. If payer 1 makes the move, set the board cell - to 1 (empty board cells have value zero). + '''Sort the array by using a max-heap. Parameters ---------- -- GitLab