94. Binary Tree Inorder Traversal
2019-07-27
94. Binary Tree Inorder Traversal
Given a binary tree, return the inorder traversal of its nodes’ values.
Example:
1 | Input: [1,null,2,3] |
Follow up: Recursive solution is trivial, could you do it iteratively?
Code:
1 | # Definition for a binary tree node. |