摘要: 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) 编辑
摘要: https://leetcode.com/problems/binary-tree-level-order-traversal/ Given a binary tree, return the level order traversal of its nodes' values. (ie, from 阅读全文
posted @ 2018-12-17 18:16 丧心病狂工科女 阅读(110) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/binary-tree-right-side-view/ Given a binary tree, imagine yourself standing on the right side of it, return the values o 阅读全文
posted @ 2018-12-17 18:13 丧心病狂工科女 阅读(152) 评论(0) 推荐(0) 编辑