上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 44 下一页
摘要: LeetCode 875. Koko Eating Bananas (爱吃香蕉的珂珂) 题目 链接 https://leetcode-cn.com/problems/koko-eating-bananas/ 问题描述 珂珂喜欢吃香蕉。这里有 N 堆香蕉,第 i 堆中有 piles[i] 根香蕉。警卫 阅读全文
posted @ 2022-03-10 16:26 cheng102e 阅读(26) 评论(0) 推荐(0) 编辑
摘要: LeetCode 34. Find First and Last Position of Element in Sorted Array () 题目 链接 https://leetcode-cn.com/problems/find-first-and-last-position-of-element 阅读全文
posted @ 2022-03-10 14:29 cheng102e 阅读(17) 评论(0) 推荐(0) 编辑
摘要: LeetCode 567. Permutation in String (字符串的排列) 题目 链接 https://leetcode-cn.com/problems/permutation-in-string/ 问题描述 给你两个字符串 s1 和 s2 ,写一个函数来判断 s2 是否包含 s1 的 阅读全文
posted @ 2022-03-07 23:51 cheng102e 阅读(27) 评论(0) 推荐(0) 编辑
摘要: LeetCode 438. Find All Anagrams in a String (找到字符串中所有字母异位词) 题目 链接 https://leetcode-cn.com/problems/find-all-anagrams-in-a-string/ 问题描述 给定两个字符串 s 和 p,找 阅读全文
posted @ 2022-03-07 23:47 cheng102e 阅读(27) 评论(0) 推荐(0) 编辑
摘要: LeetCode 76. Minimum Window Substring (最小覆盖子串) 题目 链接 https://leetcode-cn.com/problems/minimum-window-substring/ 问题描述 给你一个字符串 s 、一个字符串 t 。返回 s 中涵盖 t 所有 阅读全文
posted @ 2022-03-07 23:43 cheng102e 阅读(26) 评论(0) 推荐(0) 编辑
摘要: LeetCode 1109. Corporate Flight Bookings (航班预订统计) 题目 链接 https://leetcode-cn.com/problems/corporate-flight-bookings/submissions/ 问题描述 这里有 n 个航班,它们分别从 1 阅读全文
posted @ 2022-03-06 16:55 cheng102e 阅读(30) 评论(0) 推荐(0) 编辑
摘要: LeetCode 1094. Car Pooling (拼车) 题目 链接 https://leetcode-cn.com/problems/car-pooling/ 问题描述 假设你是一位顺风车司机,车上最初有 capacity 个空座位可以用来载客。由于道路的限制,车 只能 向一个方向行驶(也就 阅读全文
posted @ 2022-03-06 16:42 cheng102e 阅读(48) 评论(0) 推荐(0) 编辑
摘要: LeetCode 560. Subarray Sum Equals K (和为 K 的子数组) 题目 链接 https://leetcode-cn.com/problems/subarray-sum-equals-k/ 问题描述 给你一个整数数组 nums 和一个整数 k ,请你统计并返回该数组中和 阅读全文
posted @ 2022-03-05 15:09 cheng102e 阅读(25) 评论(0) 推荐(0) 编辑
摘要: LeetCode 304.Range Sum Query 2D - Immutable (二维区域和检索 - 数组不可变) 题目 链接 https://leetcode-cn.com/problems/range-sum-query-2d-immutable/ 问题描述 给定一个二维矩阵 matri 阅读全文
posted @ 2022-03-05 08:57 cheng102e 阅读(24) 评论(0) 推荐(0) 编辑
摘要: LeetCode 553. Optimal Division (最优除法) 题目 链接 https://leetcode-cn.com/problems/optimal-division/ 问题描述 给定一组正整数,相邻的整数之间将会进行浮点除法操作。例如, [2,3,4] → 2 / 3 / 4 阅读全文
posted @ 2022-03-02 14:20 cheng102e 阅读(29) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 44 下一页