From fe1c7f9babd5c89bcd0932b15a10d406752193e7 Mon Sep 17 00:00:00 2001 From: Deven <63876261+devenperez@users.noreply.github.com> Date: Wed, 26 Nov 2025 20:40:35 -0500 Subject: [PATCH] Create README - LeetHub --- 0094-binary-tree-inorder-traversal/README.md | 53 ++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 0094-binary-tree-inorder-traversal/README.md diff --git a/0094-binary-tree-inorder-traversal/README.md b/0094-binary-tree-inorder-traversal/README.md new file mode 100644 index 0000000..bd34dc7 --- /dev/null +++ b/0094-binary-tree-inorder-traversal/README.md @@ -0,0 +1,53 @@ +

94. Binary Tree Inorder Traversal

Easy


Given the root of a binary tree, return the inorder traversal of its nodes' values.

+ +

 

+

Example 1:

+ +
+

Input: root = [1,null,2,3]

+ +

Output: [1,3,2]

+ +

Explanation:

+ +

+
+ +

Example 2:

+ +
+

Input: root = [1,2,3,4,5,null,8,null,null,6,7,9]

+ +

Output: [4,2,6,5,7,1,3,9,8]

+ +

Explanation:

+ +

+
+ +

Example 3:

+ +
+

Input: root = []

+ +

Output: []

+
+ +

Example 4:

+ +
+

Input: root = [1]

+ +

Output: [1]

+
+ +

 

+

Constraints:

+ + + +

 

+Follow up: Recursive solution is trivial, could you do it iteratively? \ No newline at end of file