LeetCode刷题笔记(Binary Tree Inorder Traversal)

接下来又刷了一道类似的题目,思想和前面那道前序遍历差不多,下面就来分享一下经验。 题目如下: Given a binary tree, return the inorder traversal of its nodes' values. Example: Input: [1,null,2,3] 1 \ 2 / 3 Output: [1,3,2] Foll
相关文章
相关标签/搜索