算法分析与设计
Coder_zyq
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode--Longest Substring Without Repeating Characters
LeetCode—Longest Substring Without Repeating Characters原创 2017-09-07 13:06:40 · 381 阅读 · 0 评论 -
LeetCode-Maximum Subarray
最大子序列和问题 最大子序列和问题 题目描述 解题思路 直接求解On-动态规划 利用分治的方法Onlogn 代码1. 题目描述 Find the contiguous subarray within an array (containing at least one number) which has the largest sum. Example given the array [-2原创 2017-09-17 08:54:51 · 389 阅读 · 0 评论 -
贪心算法之Assign Cookie-leetcode
LeetCode-Assign Cookie LeetCode-Assign Cookie 问题描述 详细讲解 代码 1. 问题描述 Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at mos原创 2017-10-15 22:41:27 · 364 阅读 · 0 评论 -
LeetCode-Majority Element
Majority Element Majority Element 题目描述 算法 1 暴力求解n2 2 桶排序 n较小 3 找中位数问题 4 Divide and conquer 5 Randomization 6 Boyer-Moore Algorithm1. 题目描述 Given an array of size n, find the majority element. The m原创 2017-09-17 10:16:52 · 294 阅读 · 0 评论 -
LeetCode - Maximum Length Of Pair Chain(算法)
算法概论之LeetCode- Maximum Length Of Pair Chain 算法概论之LeetCode- Maximum Length Of Pair Chain 题目描述 样例输入输出 算法描述 1. 题目描述 You are given n pairs of numbers. In every pair, the first number is原创 2017-10-27 16:31:42 · 363 阅读 · 0 评论 -
LeetCode - jump game II
LeetCode - jump game II原创 2017-11-16 09:18:11 · 492 阅读 · 0 评论 -
LeetCode- Jump game
jump game I原创 2017-11-14 21:25:08 · 510 阅读 · 0 评论 -
LeetCode -Best Time to Buy and Sell Stock with Cooldown
LeetCode -Best Time to Buy and Sell Stock with Cooldown LeetCode -Best Time to Buy and Sell Stock with Cooldown 题目描述 算法解释 代码 题目描述 Say you have an array for which the ith element is the p原创 2018-01-13 09:35:22 · 298 阅读 · 0 评论 -
LeetCode- Best Time to Buy and Sell Stock
LeetCode- Best Time to Buy and Sell Stock LeetCode- Best Time to Buy and Sell Stock 题目描述 算法理解 代码块 题目描述 Say you have an array for which the ith element is the price of a given stock o原创 2018-01-13 09:39:54 · 375 阅读 · 0 评论 -
LeetCode- kadane algorithm
LeetCode - kadane algorithm原创 2018-01-13 11:17:31 · 497 阅读 · 0 评论 -
LeetCode--Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock II Best Time to Buy and Sell Stock II 题目描述 算法解释 代码 题目描述 Say you have an array for which the ith element is the price of a given stock on day i. Design an原创 2018-01-13 14:38:40 · 276 阅读 · 0 评论 -
LeetCode --Best Time to Buy and Sell Stock III
LeetCode –Best Time to Buy and Sell Stock III 技术与社会生态的相互作用,使得技术发展经常带来更深远的问题,远远超出了技术设备的直接目的和运作本身,同样的技术,引入不同的环境,或在不同条件下,会带来非常不同的结果 LeetCode Best Time to Buy and Sell Stock III 题目描述 算法解释 代码原创 2018-01-13 14:44:20 · 775 阅读 · 0 评论 -
算法概论第八章课后题--8.3
算法概论第八章课后题–8.3 题目描述 STINGY 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 tr原创 2018-01-13 15:41:35 · 427 阅读 · 0 评论 -
leetCode -Counting Bits
leetCode 解题报告之Counting Bits原创 2018-01-06 21:36:28 · 342 阅读 · 0 评论 -
LeetCode- Add two number I
LeetCode- Add two number I原创 2018-01-10 17:09:18 · 360 阅读 · 0 评论 -
LeetCode--Add two Number II
LeetCode–Add two Number II LeetCodeAdd two Number II 题目描述 算法解释 代码 题目描述 You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes原创 2018-01-10 20:14:24 · 362 阅读 · 0 评论
分享