Easy

Quiz

#144 Binary Tree Preorder Traversal

APPROACH

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

1 of 4

What is the optimal approach for this problem?