摘要: LeetCode 1362. Closest Divisors最接近的因数【Medium】【Python】【数学】 Problem "LeetCode" Given an integer , find the closest two integers in absolute difference w 阅读全文
posted @ 2020-02-23 18:28 Wonz 阅读(199) 评论(2) 推荐(0) 编辑
摘要: LeetCode 1360. Number of Days Between Two Dates日期之间隔几天【Easy】【Python】【数学】 Problem "LeetCode" Write a program to count the number of days between two da 阅读全文
posted @ 2020-02-23 16:59 Wonz 阅读(282) 评论(0) 推荐(0) 编辑
摘要: LeetCode 1358. Number of Substrings Containing All Three Characters包含所有三种字符的子字符串数目【Medium】【Python】【双指针】【滑窗】 Problem "LeetCode" Given a string consisti 阅读全文
posted @ 2020-02-23 10:30 Wonz 阅读(293) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0034. Find First and Last Position of Element in Sorted Array在排序数组中查找元素的第一个和最后一个位置【Medium】【Python】【二分】 Problem "LeetCode" Given an array of i 阅读全文
posted @ 2020-02-23 09:08 Wonz 阅读(555) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0153. Find Minimum in Rotated Sorted Array寻找旋转排序数组中的最小值【Medium】【Python】【二分】 Problem "LeetCode" Suppose an array sorted in ascending order is 阅读全文
posted @ 2020-02-22 21:57 Wonz 阅读(150) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0278. First Bad Version第一个错误的版本【Easy】【Python】【二分】 Problem "LeetCode" You are a product manager and currently leading a team to develop a new 阅读全文
posted @ 2020-02-22 21:01 Wonz 阅读(174) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0540. Single Element in a Sorted Array有序数组中的单一元素【Medium】【Python】【二分】 Problem "LeetCode" You are given a sorted array consisting of only integ 阅读全文
posted @ 2020-02-22 20:09 Wonz 阅读(135) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0744. Find Smallest Letter Greater Than Target寻找比目标字母大的最小字母【Easy】【Python】【二分】 Problem "LeetCode" Given a list of sorted characters containing 阅读全文
posted @ 2020-02-22 16:54 Wonz 阅读(130) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0069. Sqrt(x) x 的平方根【Easy】【Python】【二分】 Problem "LeetCode" Implement . Compute and return the square root of x , where x is guaranteed to be a 阅读全文
posted @ 2020-02-22 16:08 Wonz 阅读(170) 评论(0) 推荐(0) 编辑
摘要: LeetCode 0053. Maximum Subarray最大子序和【Easy】【Python】【动态规划】 Problem "LeetCode" Given an integer array , find the contiguous subarray (containing at least 阅读全文
posted @ 2020-02-21 16:36 Wonz 阅读(116) 评论(0) 推荐(0) 编辑