5 DERECHA

[LeetCode][Tree/DFS/BFS/Morris Traversal] 144. Binary Tree Preorder Traversal 본문

Algorithm/Graph(DFS, BFS and so on)_Tree

[LeetCode][Tree/DFS/BFS/Morris Traversal] 144. Binary Tree Preorder Traversal

kay30 2023. 1. 15. 23:09

[English]

 

[Korean]

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