Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a12653

Browse files
authored
Fix typo in comment (trekhleb#540)
Address issuetrekhleb#528
1 parentebd6ffd commit8a12653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/data-structures/tree/red-black-tree/RedBlackTree.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export default class RedBlackTree extends BinarySearchTree {
155155
parentNode.parent=null;
156156
}
157157

158-
// Swap colors ofgranParent andparent nodes.
158+
// Swap colors ofgrandParentNode andparentNode.
159159
this.swapNodeColors(parentNode,grandParentNode);
160160

161161
// Return new root node.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp