摘要: Problem LeetCode Given the root of a binary tree, return the preorder traversal of its nodes' values. Example 1: Input: root = [1,null,2,3] Output: [1 阅读全文
posted @ 2021-01-10 21:46 Wonz 阅读(108) 评论(0) 推荐(0) 编辑
摘要: Problem LeetCode Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf 阅读全文
posted @ 2021-01-10 21:34 Wonz 阅读(85) 评论(0) 推荐(0) 编辑
摘要: Problem LeetCode Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for th 阅读全文
posted @ 2021-01-10 21:24 Wonz 阅读(120) 评论(0) 推荐(0) 编辑