diff --git a/src/data-structures/tree/red-black-tree/RedBlackTree.js b/src/data-structures/tree/red-black-tree/RedBlackTree.js index 6bb47130..6e747afc 100644 --- a/src/data-structures/tree/red-black-tree/RedBlackTree.js +++ b/src/data-structures/tree/red-black-tree/RedBlackTree.js @@ -155,7 +155,7 @@ export default class RedBlackTree extends BinarySearchTree { parentNode.parent = null; } - // Swap colors of granParent and parent nodes. + // Swap colors of grandParentNode and parentNode. this.swapNodeColors(parentNode, grandParentNode); // Return new root node.