
LeetCode-BinarySearch
文章平均质量分 59
R_zz
这个作者很懒,什么都没留下…
展开
-
LeetCode-35. Search Insert Position
问题:https://leetcode.com/problems/search-insert-position/?tab=Description Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if原创 2017-02-24 15:38:34 · 172 阅读 · 0 评论 -
LeetCode-475. Heaters
问题:https://leetcode.com/problems/heaters/?tab=Description Winter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the houses. Now, you ar原创 2017-02-24 16:26:40 · 268 阅读 · 0 评论 -
LeetCode-374. Guess Number Higher or Lower
问题:https://leetcode.com/problems/guess-number-higher-or-lower/?tab=Description We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I pic原创 2017-02-24 16:41:24 · 176 阅读 · 0 评论 -
LeetCode-278. First Bad Version
问题:https://leetcode.com/problems/first-bad-version/?tab=Description You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product f原创 2017-02-24 16:59:39 · 303 阅读 · 0 评论