94. Binary Tree Inorder Traversal

Description

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

Constraints

Approach

Examples

Input: [1, null, 2, 3]

1

\

2

/

3

Output: [1, 3, 2]

Solutions

Follow up

Last updated

Was this helpful?