摘要: public class TreeNode(){ public int val; publicTreeNode Left; public TreeNode Right; public TreeNode(int x){ val=x } } 局部变量temp获取当前结点,queue获取此结点下的左右结点 阅读全文
posted @ 2019-12-31 10:07 阿廷 阅读(284) 评论(0) 推荐(0)