
pat-Advanced
.无名之辈
多做一些有意义的事,慢一些不要紧,但一定要一直走下去。
展开
-
1053 Path of Equal Weight (30 分)
1053 Path of Equal Weight (30 分)Given a non-empty tree with rootR, and with weightWiassigned to each tree nodeTi. Theweig...原创 2019-04-10 21:55:39 · 359 阅读 · 0 评论 -
1020 Tree Traversals
Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to output the level order traversal sequence of the cor...原创 2019-03-15 22:06:20 · 157 阅读 · 0 评论