LeetCode算法笔记–Day47
题目1:
94. Binary Tree Inorder Traversal
Given a binary tree, return the inorder traversal of its nodes’ values.
Note: The solution set must not contain duplicate subsets.
example
input: [1,null,2,3]
1
\
2
/
3output: [1,3,2]
My Answer:
1 | /** |