Skip to content

Commit 4bb794d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 71cba73 commit 4bb794d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/binary_tree/red_black_tree.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,13 @@ def _remove_repair(self) -> None:
335335
self.parent.color = 0
336336
self.parent.sibling.color = 0
337337

338-
338+
339339
def check_color_properties(self) -> bool:
340340
"""
341341
Verify that all Red-Black Tree properties are satisfied:
342342
# Root node is black
343343
# No two consecutive red nodes (red node cannot have red children)
344-
# All paths from any node to its leaf descendants have
344+
# All paths from any node to its leaf descendants have
345345
# the same number of black nodes
346346
347347
Returns:

0 commit comments

Comments
 (0)