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 NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr While NameLoad body Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Continue If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return BoolOpAnd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Num Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Call NameLoad Num Call NameLoad Num Assign TupleStore AttributeStore AttributeLoad NameLoad attr attr AttributeStore AttributeLoad NameLoad attr attr TupleLoad Call NameLoad Num Call NameLoad Num Assign TupleStore AttributeStore AttributeLoad NameLoad attr attr AttributeStore AttributeLoad NameLoad attr attr TupleLoad Call NameLoad Num 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 isSymmetric N/A N/A self root N/A N/A N/A N/A root None N/A N/A True N/A stack N/A N/A N/A N/A stack append N/A root left N/A N/A N/A stack append N/A root right N/A stack N/A N/A N/A p q N/A N/A N/A stack pop N/A N/A stack pop N/A N/A N/A p None N/A q None N/A N/A N/A N/A N/A p None N/A q None N/A N/A p val N/A q val N/A N/A False N/A N/A N/A stack append N/A p left N/A N/A N/A stack append N/A q right N/A N/A N/A stack append N/A p right N/A N/A N/A stack append N/A q left N/A True N/A N/A Solution2 N/A N/A isSymmetric N/A N/A self root N/A N/A N/A N/A root None N/A N/A True N/A N/A N/A self isSymmetricRecu N/A root left N/A root right N/A isSymmetricRecu N/A N/A self left right N/A N/A N/A N/A N/A left None N/A right None N/A N/A True N/A N/A N/A left None N/A right None N/A N/A left val N/A right val N/A N/A False N/A N/A N/A N/A self isSymmetricRecu N/A left left N/A right right N/A N/A self isSymmetricRecu N/A left right N/A right left N/A N/A N/A N/A __name__ __main__ N/A N/A root N/A TreeNode 1 N/A N/A N/A root left N/A root right N/A N/A TreeNode 2 N/A TreeNode 2 N/A N/A N/A N/A root left left N/A N/A root right right N/A N/A TreeNode 3 N/A TreeNode 3 N/A N/A N/A N/A root left right N/A N/A root right left N/A N/A TreeNode 4 N/A TreeNode 4 N/A N/A N/A N/A Solution isSymmetric root