This commit is contained in:
miti99 committed 2018-11-01 07:59:02 +07:00
1 parent 7728a6e952
commit 07f910d955
1 file changed
+1
+1
View File
@@ -54,6 +54,7 @@ bool DeleteHeapNode(int *&maxHeap, int delPosition, int &size, int &dataOut)
maxHeap[delPosition] = maxHeap[size - 1];
--size;
reheapDown(maxHeap, delPosition, size);
return true;
}
int main()