Skip to content
2 changes: 1 addition & 1 deletion src/data-structures/tree/BinaryTreeNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class BinaryTreeNode {
return undefined;
}

// Check if grand-parent has more than two children.
// Check if grand-parent has two children.
if (!this.parent.parent.left || !this.parent.parent.right) {
return undefined;
}
Expand Down