This commit is contained in:
2018-11-01 07:59:02 +07:00
parent 7728a6e952
commit 07f910d955
+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()