mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
reverted line 27
This commit is contained in:
parent
7cd335d371
commit
62aafd1c50
@ -22,8 +22,8 @@ class MinHeap {
|
|||||||
harr = new int[cap];
|
harr = new int[cap];
|
||||||
}
|
}
|
||||||
|
|
||||||
/** to heapify a subtree with the root at given index
|
/** to heapify a subtree with the root at given index */
|
||||||
*/
|
void MinHeapify(int);
|
||||||
|
|
||||||
int parent(int i) { return (i - 1) / 2; }
|
int parent(int i) { return (i - 1) / 2; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user