How can I get array output instead of memory location when printing TreeNode? I’m a newbie of python and start practicing leetcode recently.