- 博客(11)
- 收藏
- 关注
原创 week17-算法概论书本习题
8.3STINGY SAT is the following problem: given a set of clauses(each a disjunction of literals) and an integer k, find a satisfying assignment in which at most k variables are true, if such an assignme
2017-12-29 00:21:40 141
原创 week17-leetcode #740-DeleteandEarn
week17-leetcode #740-DeleteandEarn链接:https://leetcode.com/problems/delete-and-earn/description/QuestionGiven an array nums of integers, you can perform operations on the array.In each operation, you pi
2017-12-27 22:01:17 316
原创 week17-leetcode #53-Maximum Subarray
week17-leetcode #53-Maximum Subarray链接:https://leetcode.com/problems/maximum-subarray/description/QuestionFind the contiguous subarray within an array (containing at least one number) which has the lar
2017-12-27 22:00:44 293
原创 week17-leetcode #70-ClimbingStairs
week17-leetcode #70-ClimbingStairs链接:https://leetcode.com/problems/climbing-stairs/description/QuestionYou are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb
2017-12-27 22:00:14 278
原创 week16-leetcode #303-RangeSumQueryImmutable
week16-leetcode #303-RangeSumQueryImmutable链接:https://leetcode.com/problems/range-sum-query-immutable/description/QuestionGiven an integer array nums, find the sum of the elements between indices i and
2017-12-27 21:59:42 156
原创 week16-leetcode #198-House Robber
week16-leetcode #198-House Robber链接:https://leetcode.com/problems/house-robber/description/QuestionYou are a professional robber planning to rob houses along a street. Each house has a certain amount o
2017-12-27 21:58:52 164
原创 week16-leetcode #746-MinCostClimbingStairs
week16-leetcode #746-MinCostClimbingStairs链接:https://leetcode.com/problems/min-cost-climbing-stairs/description/QuestionOn a staircase, the i-th step has some non-negative cost cost[i] assigned (0 inde
2017-12-27 21:57:51 120
原创 week15-leetcode #122-BestTimetoBuyandSellStock II
week15-leetcode #122-BestTimetoBuyandSellStock II链接:https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/description/QuestionSay you have an array for which the iith element is the price of
2017-12-22 12:19:53 111
原创 week14-leetcode #121-BestTimetoBuyandSellStock
week14-leetcode #121-BestTimetoBuyandSellStock链接:https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/QuestionSay you have an array for which the ithi^{th} element is the price of
2017-12-14 20:50:08 148
原创 week13-leetcode #300-Longest-Increasing-Subsequence
week13-leetcode #300-Longest-Increasing-Subsequence链接:https://leetcode.com/problems/longest-increasing-subsequence/description/QuestionGiven an unsorted array of integers, find the length of longest in
2017-12-01 20:45:46 130
原创 week13-leetcode #210-Course-Schedule-II
week13-leetcode #210-Course-Schedule-II链接:https://leetcode.com/problems/course-schedule-ii/description/QuestionThere are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may
2017-12-01 20:35:10 152
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人