Drzewo: Przejazd po zamówieniu
def postOrder(root):
if root:
postOrder(root.left)
postOrder(root.right)
print(root, end = " ")
Grieving Gazelle
def postOrder(root):
if root:
postOrder(root.left)
postOrder(root.right)
print(root, end = " ")