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

Updated the docstring of HeapSort

parent 6dea733b
Branches
No related tags found
No related merge requests found
def HeapSort(array): def HeapSort(array):
'''Update the board according to the move and the player. If player 0 does '''Sort the array by using a max-heap.
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).
Parameters Parameters
---------- ----------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment