arrow_back Back to Challenges

#144 Binary Tree Preorder Traversal

Easy Acceptance 0%
description

Problem Description

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

checklist Constraints

See problem description for detailed constraints.

science Examples

Case #1

In: # See problem description for input format
Out: # Expected output

Mastery Tags

Recursion Stack Trees

Hiring Companies

Meta Salesforce
code

Integrated IDE

code_blocks
Coding
psychology
Aptitude