144. Binary Tree Preorder Traversal
Description
Given a binary tree, return the preorder traversal of its nodes' values.
Constraints
Approach
Links
GeeksforGeeks
ProgramCreek
YouTube
Examples
Input: [1, null, 2, 3]
Output: [1, 2, 3]
Solutions
Follow up
Last updated
Was this helpful?