From 9311735867b882110da6350cfb9cc2210b9bd8b5 Mon Sep 17 00:00:00 2001 From: m-maksyutin Date: Mon, 18 Jun 2018 16:30:30 +0300 Subject: [PATCH] Correct a comment (#66) * Fix LinkedList * Fix the prepend method for the LinkedList * Fix the remove method for the MinHeap * Correct a comment --- src/data-structures/tree/BinaryTreeNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data-structures/tree/BinaryTreeNode.js b/src/data-structures/tree/BinaryTreeNode.js index 71e7ae0d..9205e482 100644 --- a/src/data-structures/tree/BinaryTreeNode.js +++ b/src/data-structures/tree/BinaryTreeNode.js @@ -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; }