摘要:
key point no special data structure, only operation trick listed as below. create a new node as a vritual head which will convinient for the operation 阅读全文
摘要:
这是亚麻的OA题, leetcode链接。https://leetcode.com/problems/course-schedule-ii/description/ the code listed here has passed all the test case in leetcode. 阅读全文
摘要:
这是亚麻的OA 题 这里的代码没有经过测试 Given a binary tree, find the subtree with maximum sum. Return the root of the subtree. another similar problem in leetcode : ht 阅读全文