Format C, C++, C#, Go, Java, Python, Rust code.

This commit is contained in:
krahets
2023-09-02 23:54:38 +08:00
parent b6ac6aa7d7
commit dd72335235
53 changed files with 152 additions and 154 deletions

View File

@ -35,9 +35,7 @@ def show_trunks(p: Trunk | None):
print(p.str, end="")
def print_tree(
root: TreeNode | None, prev: Trunk | None = None, is_left: bool = False
):
def print_tree(root: TreeNode | None, prev: Trunk | None = None, is_left: bool = False):
"""
Print a binary tree
This tree printer is borrowed from TECHIE DELIGHT