Skip to content

Commit 9311735

Browse files
m-maksyutintrekhleb
authored andcommitted
Correct a comment (trekhleb#66)
* Fix LinkedList * Fix the prepend method for the LinkedList * Fix the remove method for the MinHeap * Correct a comment
1 parent 98092ee commit 9311735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/data-structures/tree/BinaryTreeNode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default class BinaryTreeNode {
6969
return undefined;
7070
}
7171

72-
// Check if grand-parent has more than two children.
72+
// Check if grand-parent has two children.
7373
if (!this.parent.parent.left || !this.parent.parent.right) {
7474
return undefined;
7575
}

0 commit comments

Comments
 (0)