上一页 1 2 3 4 5 6 7 8 ··· 60 下一页
摘要: 1.题目 题目地址(33. 搜索旋转排序数组 - 力扣(LeetCode)) https://leetcode.cn/problems/search-in-rotated-sorted-array/ 题目描述 整数数组 nums 按升序排列,数组中的值 互不相同 。 在传递给函数之前,nums 在预 阅读全文
posted @ 2024-07-14 10:21 DawnTraveler 阅读(32) 评论(0) 推荐(0)
摘要: 1.题目 题目地址(278. 第一个错误的版本 - 力扣(LeetCode)) https://leetcode.cn/problems/first-bad-version/ 题目描述 你是产品经理,目前正在带领一个团队开发新的产品。不幸的是,你的产品的最新版本没有通过质量检测。由于每个版本都是基于 阅读全文
posted @ 2024-07-13 21:26 DawnTraveler 阅读(42) 评论(0) 推荐(0)
摘要: 1.题目 题目地址(110. 平衡二叉树 - 力扣(LeetCode)) https://leetcode.cn/problems/balanced-binary-tree/ 题目描述 给定一个二叉树,判断它是否是 平衡二叉树 示例 1: 输入:root = [3,9,20,null,null,15 阅读全文
posted @ 2024-07-01 16:01 DawnTraveler 阅读(34) 评论(0) 推荐(0)
摘要: 1.题目 题目地址(150. 逆波兰表达式求值 - 力扣(LeetCode)) https://leetcode.cn/problems/evaluate-reverse-polish-notation/ 题目描述 给你一个字符串数组 tokens ,表示一个根据 逆波兰表示法 表示的算术表达式。 阅读全文
posted @ 2024-07-01 00:58 DawnTraveler 阅读(47) 评论(0) 推荐(0)
摘要: 1.题目介绍 题目地址(61. 旋转链表 - 力扣(LeetCode)) https://leetcode.cn/problems/rotate-list/ 题目描述 给你一个链表的头节点 head ,旋转链表,将链表每个节点向右移动 k 个位置。 示例 1: 输入:head = [1,2,3,4, 阅读全文
posted @ 2024-06-30 23:20 DawnTraveler 阅读(61) 评论(0) 推荐(0)
摘要: 1.题目介绍 题目地址(376. 摆动序列 - 力扣(LeetCode)) https://leetcode.cn/problems/wiggle-subsequence/ 题目描述 如果连续数字之间的差严格地在正数和负数之间交替,则数字序列称为 摆动序列 。第一个差(如果存在的话)可能是正数或负数 阅读全文
posted @ 2024-06-26 03:07 DawnTraveler 阅读(36) 评论(0) 推荐(0)
摘要: 1.题目介绍 题目地址(322. 零钱兑换 - 力扣(LeetCode)) https://leetcode.cn/problems/coin-change/ 题目描述 给你一个整数数组 coins ,表示不同面额的硬币;以及一个整数 amount ,表示总金额。 计算并返回可以凑成总金额所需的 最 阅读全文
posted @ 2024-06-24 00:46 DawnTraveler 阅读(169) 评论(0) 推荐(0)
摘要: 1.题目介绍 题目地址(714. 买卖股票的最佳时机含手续费 - 力扣(LeetCode)) https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/ 题目描述 给定一个整数数组 prices 阅读全文
posted @ 2024-06-23 16:58 DawnTraveler 阅读(31) 评论(0) 推荐(0)
摘要: 1.题目 题目地址(122. 买卖股票的最佳时机 II - 力扣(LeetCode)) https://leetcode.cn/problems/best-time-to-buy-and-sell-stock-ii/ 题目描述 给你一个整数数组 prices ,其中 prices[i] 表示某支股票 阅读全文
posted @ 2024-06-23 15:56 DawnTraveler 阅读(42) 评论(0) 推荐(0)
摘要: 1.题目 题目地址(121. 买卖股票的最佳时机 - 力扣(LeetCode)) https://leetcode.cn/problems/best-time-to-buy-and-sell-stock/ 题目描述 给定一个数组 prices ,它的第 i 个元素 prices[i] 表示一支给定股 阅读全文
posted @ 2024-06-23 11:18 DawnTraveler 阅读(32) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 60 下一页