Easy

Quiz

#144 Binary Tree Preorder Traversal

APPROACH

Given the root of a binary tree, return its node values collected in preorder (root, then left subtree, then right subtree).

1 of 4
1:00

What is the optimal approach for this problem?