arrow_back Back to Challenges

#94 Binary Tree Inorder Traversal

Easy Acceptance 0%
description

Problem Description

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

checklist Constraints

The number of nodes in the tree is in the range [0, 100].
-100 <= Node.val <= 100

science Examples

Case #1

In: root = [1,null,2,3]
Out: [1,3,2]

Case #2

In: root = []
Out: []

Mastery Tags

Recursion Stack Trees

Hiring Companies

Amazon Google Microsoft
code

Integrated IDE

code_blocks
Coding
psychology
Aptitude