Skip to content

Commit 00f7847

Browse files
authored
Update red_black_tree.py
1 parent b6ed393 commit 00f7847

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_structures/binary_tree/red_black_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def check_color_properties(self) -> bool:
353353
if not self.check_coloring():
354354
return False
355355
# Property 5
356-
if self.black_height() is not None
356+
if self.black_height() is not None:
357357

358358
def check_coloring(self) -> bool:
359359
"""Check if the tree satisfies Red-Black property 4."""

0 commit comments

Comments
 (0)