摘要: LeetCode 0665. Non decreasing Array非递减数列【Easy】【Python】【贪心】 Problem "LeetCode" Given an array with integers, your task is to check if it could become n 阅读全文
posted @ 2020-02-20 15:11 Wonz 阅读(248) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0392. Is Subsequence判断子序列【Easy】【Python】【双指针】 Problem "LeetCode" Given a string s and a string t , check if s is subsequence of t . You may as 阅读全文
posted @ 2020-02-20 12:39 Wonz 阅读(198) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0605. Can Place Flowers种花问题【Easy】【Python】【贪心】 Problem "LeetCode" Suppose you have a long flowerbed in which some of the plots are planted and 阅读全文
posted @ 2020-02-20 10:55 Wonz 阅读(191) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0122. Best Time to Buy and Sell Stock II买卖股票的最佳时机 II【Easy】【Python】【贪心】【动态规划】 Problem "LeetCode" Say you have an array for which the i th elem 阅读全文
posted @ 2020-02-20 09:48 Wonz 阅读(106) 评论(0) 推荐(0) 编辑