上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 87 下一页
摘要: https://leetcode.com/problems/binary-tree-postorder-traversal/ Given a binary tree, return the postorder traversal of its nodes' values. Example: Foll 阅读全文
posted @ 2018-12-19 17:02 丧心病狂工科女 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: https://leetcode.com/problems/letter-combinations-of-a-phone-number/ Given a string containing digits from 2-9 inclusive, return all possible letter c 阅读全文
posted @ 2018-12-17 22:04 丧心病狂工科女 阅读(119) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/ Given a binary search tree (BST), find the lowest common ancestor (LCA) 阅读全文
posted @ 2018-12-17 19:05 丧心病狂工科女 阅读(124) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/kth-smallest-element-in-a-bst/ Given a binary search tree, write a function kthSmallest to find the kth smallest element 阅读全文
posted @ 2018-12-17 18:18 丧心病狂工科女 阅读(142) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 87 下一页