Leetcode 94 Binary Tree Inorder Traversal The problem description is as follow: Given a binary tree, return the inorder traversal of its nodes’ values. For example: Given binary tree {1,#,2,3},
Leetcode 144 Binary Tree Preorder Traversal The problem description is as follow: Given a binary tree, return the preorder traversal of its nodes’ values. For example: Given binary tree {1,#,2,3},