Skip to content

Commit 99ea24e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 52891a4 commit 99ea24e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

data_structures/binary_tree/red_black_tree.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ def check_color_properties(self) -> bool:
355355
# Property 5
356356
return self.black_height() is not None
357357

358-
359358
def check_coloring(self) -> bool:
360359
"""Check if the tree satisfies Red-Black property 4."""
361360
if self.color == 1 and 1 in (color(self.left), color(self.right)):

0 commit comments

Comments
 (0)