上一页 1 2 3 4 5 6 7 8 ··· 44 下一页
摘要: LeetCode 17. Letter Combinations of a Phone Number (电话号码的字母组合) 题目 链接 https://leetcode.cn/problems/letter-combinations-of-a-phone-number/ 问题描述 给定一个仅包含数 阅读全文
posted @ 2022-06-13 22:23 cheng102e 阅读(26) 评论(0) 推荐(0) 编辑
摘要: LeetCode 216. Combination Sum III (组合总和 III) 题目 链接 https://leetcode.cn/problems/combination-sum-iii/ 问题描述 找出所有相加之和为 n 的 k 个数的组合,且满足下列条件: 只使用数字1到9 每个数字 阅读全文
posted @ 2022-06-13 18:16 cheng102e 阅读(20) 评论(0) 推荐(0) 编辑
摘要: LeetCode 77. Combinations (组合) 题目 链接 https://leetcode.cn/problems/combinations/ 问题描述 你可以按 任何顺序 返回答案。 示例 输入:n = 4, k = 2 输出: [ [2,4], [3,4], [2,3], [1, 阅读全文
posted @ 2022-06-13 16:44 cheng102e 阅读(16) 评论(0) 推荐(0) 编辑
摘要: LeetCode 669. Trim a Binary Search Tree (修剪二叉搜索树) 题目 链接 https://leetcode.cn/problems/trim-a-binary-search-tree/ 问题描述 给你二叉搜索树的根节点 root ,同时给定最小边界low 和最大 阅读全文
posted @ 2022-06-10 16:29 cheng102e 阅读(18) 评论(0) 推荐(0) 编辑
摘要: LeetCode 450. Delete Node in a BST (删除二叉搜索树中的节点) 题目 链接 https://leetcode.cn/problems/delete-node-in-a-bst/ 问题描述 给定一个二叉搜索树的根节点 root 和一个值 key,删除二叉搜索树中的 k 阅读全文
posted @ 2022-06-10 16:11 cheng102e 阅读(16) 评论(0) 推荐(0) 编辑
摘要: LeetCode 108. Convert Sorted Array to Binary Search Tree (将有序数组转换为二叉搜索树) 题目 链接 https://leetcode.cn/problems/convert-sorted-array-to-binary-search-tree 阅读全文
posted @ 2022-06-10 10:38 cheng102e 阅读(14) 评论(0) 推荐(0) 编辑
摘要: LeetCode 701. Insert into a Binary Search Tree (二叉搜索树中的插入操作) 题目 链接 https://leetcode.cn/problems/insert-into-a-binary-search-tree/ 问题描述 给定二叉搜索树(BST)的根节 阅读全文
posted @ 2022-06-10 08:27 cheng102e 阅读(13) 评论(0) 推荐(0) 编辑
摘要: LeetCode 235. Lowest Common Ancestor of a Binary Search Tree (二叉搜索树的最近公共祖先) 题目 链接 https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-sear 阅读全文
posted @ 2022-06-10 08:14 cheng102e 阅读(14) 评论(0) 推荐(0) 编辑
摘要: LeetCode 236. Lowest Common Ancestor of a Binary Tree (二叉树的最近公共祖先) 题目 链接 https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-tree/ 问题描述 给定 阅读全文
posted @ 2022-06-09 17:38 cheng102e 阅读(20) 评论(0) 推荐(0) 编辑
摘要: LeetCode 501. Find Mode in Binary Search Tree (二叉搜索树中的众数) 题目 链接 https://leetcode.cn/problems/find-mode-in-binary-search-tree/ 问题描述 给你一个含重复值的二叉搜索树(BST) 阅读全文
posted @ 2022-06-09 17:05 cheng102e 阅读(25) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 44 下一页