摘要: https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/ Given a binary tree, return the zigzag level order traversal of its nodes' val 阅读全文
posted @ 2018-12-18 21:54 丧心病狂工科女 阅读(135) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/count-complete-tree-nodes/ Given a complete binary tree, count the number of nodes. Note: Definition of a complete binar 阅读全文
posted @ 2018-12-18 19:09 丧心病狂工科女 阅读(142) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/binary-tree-level-order-traversal-ii/ Given a binary tree, return the bottom-up level order traversal of its nodes' valu 阅读全文
posted @ 2018-12-18 18:50 丧心病狂工科女 阅读(134) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805366343188480 There is a classical process named partition in the famous quick sort al 阅读全文
posted @ 2018-12-18 14:31 丧心病狂工科女 阅读(356) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805449625288704 Given a collection of number segments, you are supposed to recover the s 阅读全文
posted @ 2018-12-18 14:11 丧心病狂工科女 阅读(220) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/path-sum/ Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the value 阅读全文
posted @ 2018-12-18 13:54 丧心病狂工科女 阅读(100) 评论(0) 推荐(0) 编辑