摘要:
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-10-08 11:47
Schwifty
阅读(120)
评论(0)
推荐(0)
摘要:
Given a binary tree, return the tilt of the whole tree. The tilt of a tree node is defined as the absolute difference between the sum of all left subt 阅读全文
posted @ 2020-10-08 11:04
Schwifty
阅读(98)
评论(0)
推荐(0)
摘要:
For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and right child subtrees. A binary tree X is flip e 阅读全文
posted @ 2020-10-08 09:01
Schwifty
阅读(134)
评论(0)
推荐(0)

浙公网安备 33010602011771号