Module ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return Num orelse Return BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr Call NameLoad Num Assign AttributeStore NameLoad attr Call NameLoad Num Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Num Print Call AttributeLoad Call NameLoad attr NameLoad
N/A TreeNode N/A N/A __init__ N/A N/A self x N/A N/A N/A N/A self val x N/A N/A self left None N/A N/A self right None N/A N/A Solution N/A N/A maxDepth N/A N/A self root N/A N/A N/A N/A root None N/A N/A 0 N/A N/A N/A N/A max N/A N/A self maxDepth N/A root left N/A N/A self maxDepth N/A root right 1 N/A N/A N/A N/A __name__ __main__ N/A N/A root N/A TreeNode 1 N/A N/A root left N/A TreeNode 2 N/A N/A root right N/A TreeNode 3 N/A N/A N/A root left left N/A TreeNode 4 N/A N/A N/A N/A Solution maxDepth root