94. Binary Tree Inorder Traversal

Practice Binary Tree Inorder Traversal for free on NudgeCode: Easy, Binary Tree pattern. Write it in Python or JavaScript, run the tests in your browser, and ask for a hint when you are stuck.

Return the values of a binary tree in inorder: the left subtree first, then the node itself, then the right subtree.

Example

root = [1,null,2,3]  ->  [1,3,2]

Constraints