贪心
Wonz
技术很菜,但一直在学习。
微信公众号:Wonz
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode | 0665. Non-decreasing Array非递减数列【Python】
LeetCode 0665. Non-decreasing Array非递减数列【Easy】【Python】【贪心】ProblemLeetCodeGiven an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element.We...原创 2020-02-20 15:08:57 · 502 阅读 · 0 评论 -
LeetCode | 0605. Can Place Flowers种花问题【Python】
LeetCode 0605. Can Place Flowers种花问题【Easy】【Python】【贪心】ProblemLeetCodeSuppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted ...原创 2020-02-20 10:53:00 · 631 阅读 · 0 评论 -
LeetCode | 0122. Best Time to Buy and Sell Stock II买卖股票的最佳时机 II【Python】
LeetCode 0122. Best Time to Buy and Sell Stock II买卖股票的最佳时机 II【Easy】【Python】【贪心】ProblemLeetCodeSay you have an array for which the ith element is the price of a given stock on day i.Design an alg...原创 2020-02-20 09:44:40 · 419 阅读 · 0 评论 -
LeetCode | 0121. Best Time to Buy and Sell Stock买卖股票的最佳时机【Python】
LeetCode 0121. Best Time to Buy and Sell Stock买卖股票的最佳时机【Easy】【Python】【贪心】ProblemLeetCodeSay you have an array for which the ith element is the price of a given stock on day i.If you were only pe...原创 2020-02-19 22:56:34 · 455 阅读 · 0 评论 -
LeetCode | 0406. Queue Reconstruction by Height根据身高重建队列【Python】
LeetCode 0406. Queue Reconstruction by Height根据身高重建队列【Medium】【Python】【贪心】ProblemLeetCodeSuppose you have a random list of people standing in a queue. Each person is described by a pair of integer...原创 2020-02-16 21:56:01 · 451 阅读 · 0 评论 -
LeetCode | 0435. Non-overlapping Intervals无重叠区间【Python】
LeetCode 0435. Non-overlapping Intervals无重叠区间【Medium】【Python】【区间贪心】ProblemLeetCodeGiven a collection of intervals, find the minimum number of intervals you need to remove to make the rest of the ...原创 2020-02-16 20:52:39 · 752 阅读 · 0 评论 -
LeetCode | 0452. Minimum Number of Arrows to Burst Balloons用最少数量的箭引爆气球【Python】
LeetCode 0452. Minimum Number of Arrows to Burst Balloons用最少数量的箭引爆气球【Medium】【Python】【区间贪心】ProblemLeetCodeThere are a number of spherical balloons spread in two-dimensional space. For each balloon...原创 2020-02-16 19:59:59 · 670 阅读 · 0 评论 -
LeetCode | 0455. Assign Cookies分发饼干【Python】
LeetCode 0455. Assign Cookies分发饼干【Easy】【Python】【贪心】ProblemLeetCodeAssume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie....原创 2020-02-15 20:02:37 · 457 阅读 · 0 评论
分享