摘要: 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) 编辑
摘要: LeetCode 0121. Best Time to Buy and Sell Stock买卖股票的最佳时机【Easy】【Python】【贪心】【动态规划】 Problem "LeetCode" Say you have an array for which the i th element is 阅读全文
posted @ 2020-02-19 22:59 Wonz 阅读(111) 评论(0) 推荐(0) 编辑
摘要: "华为研发工程师编程题" 【C++】【Python】【数学】【数组】【字符串】 问题1 有这样一道智力题:“某商店规定:三个空汽水瓶可以换一瓶汽水。小张手上有十个空汽水瓶,她最多可以换多少瓶汽水喝?”答案是5瓶,方法如下:先用9个空瓶子换3瓶汽水,喝掉3瓶满的,喝完以后4个空瓶子,用3个再换一瓶,喝 阅读全文
posted @ 2020-02-17 21:17 Wonz 阅读(283) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0406. Queue Reconstruction by Height根据身高重建队列【Medium】【Python】【贪心】 Problem "LeetCode" Suppose you have a random list of people standing in a qu 阅读全文
posted @ 2020-02-16 22:08 Wonz 阅读(145) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0435. Non overlapping Intervals无重叠区间【Medium】【Python】【区间贪心】 Problem "LeetCode" Given a collection of intervals, find the minimum number of int 阅读全文
posted @ 2020-02-16 20:57 Wonz 阅读(244) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0452. Minimum Number of Arrows to Burst Balloons用最少数量的箭引爆气球【Medium】【Python】【区间贪心】 Problem "LeetCode" There are a number of spherical balloons 阅读全文
posted @ 2020-02-16 20:07 Wonz 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 如何在家优雅地使用 免费下载外文文献 一、使用 URL 下载 你可以到 "sci hub" 这个网站 搜索你要的外文文献,比如我搜了下:recommender system,选择其中一篇文献打开 找到该文献的 URL,复制 然后再到这个 "网站" ,粘贴复制的 URL,点击 然后会跳出一个页面,要输 阅读全文
posted @ 2020-02-15 22:01 Wonz 阅读(1055) 评论(0) 推荐(0) 编辑