← All problems
Easy · Trees

Binary Tree Preorder Traversal

Visit node, left subtree, then right subtree.

Full problem and submission ↗
main.js

Console

Ready