48

今天再分享一段代码( Python 二叉树遍历)

 5 years ago
source link: https://www.v2ex.com/t/495275
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Python - @ltoddy - ```pythonclass TreeNode: def __init__(self, x): self.val = x self.left = No

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK