摘要:
Given an n-ary tree, return the level order traversal of its nodes' values. Nary-Tree input serialization is represented in their level order traversa 阅读全文
posted @ 2020-01-04 12:56
xuan_abc
阅读(151)
评论(0)
推荐(0)
摘要:
Given two non-empty binary trees s and t, check whether tree t has exactly the same structure and node values with a subtree of s. A subtree of s is a 阅读全文
posted @ 2020-01-04 12:40
xuan_abc
阅读(85)
评论(0)
推荐(0)
摘要:
Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and 1 阅读全文
posted @ 2020-01-04 12:21
xuan_abc
阅读(61)
评论(0)
推荐(0)

浙公网安备 33010602011771号