144. Binary Tree Preorder Traversal

題目描述 Given a binary tree, return the preorder traversal of its nodes’ values. 方法思路 Approach1: 遞歸 recursive class Solution { //Runtime: 0 ms, faster than 100.00% //Memory Usage: 36.3 MB, less t
相關文章
相關標籤/搜索