摘要: 94.二叉树的中序遍历 给定一个二叉树,返回它的中序遍历。 实例: 输入: [1,null,2,3] 1 \ 2 / 3 输出: [1,3,2] 递归版: 1 # Definition for a binary tree node. 2 # class TreeNode: 3 # def __ini 阅读全文
posted @ 2020-11-07 12:19 最咸的鱼 阅读(116) 评论(0) 推荐(0) 编辑