We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad4c540 commit 0edabcdCopy full SHA for 0edabcd
src/main/java/com/thealgorithms/datastructures/heaps/LeonardoHeap.java
@@ -96,7 +96,7 @@ private void shiftRootAndRestoreHeap() {
96
j = j - 1;
97
98
if (j == 0) {
99
- // We arrived at the left most tree. Do a maxheapifyTree if a swap had occurred
+ // We arrived at the left most tree. Do a maxheapifyTree if a swap had occurred
100
if (swapRequired) {
101
maxHeapifyTree(rootNodeIndexForHeapify, treeLevelforHeapify);
102
}
0 commit comments