Skip to content

Instantly share code, notes, and snippets.

View Vibhu-Agarwal's full-sized avatar
🐍
Having fun with projies

Vibhu Agarwal Vibhu-Agarwal

🐍
Having fun with projies
View GitHub Profile
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
def inorder(root):
if root.left is not None:
inorder(root.left)