码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
hdu3535---AreYouBusy(混合分组背包,有坑点)
Problem Description Happy New Term! As having become a junior, xiaoA recognizes that there is not much time for her to AC problems, because there are some other things for her to do, which makes her...
分类:其他好文   时间:2015-05-11 09:08:53    阅读次数:128
leetcode1-Two Sums
题目https://leetcode.com/problems/two-sum/Given an array of integers, find two numbers such that they add up to a specific target number.The function tw...
分类:其他好文   时间:2015-05-11 01:15:36    阅读次数:177
Binary Tree Maximum Path Sum
题目来自于LeetCode https://leetcode.com/problems/binary-tree-maximum-path-sum/ Binary Tree Maximum Path Sum  Total Accepted: 37936 Total Submissions: 178064My Submissions Question  Solutio...
分类:其他好文   时间:2015-05-11 00:05:34    阅读次数:125
[LeetCode 3] Longest Substring Without Repeating Characters
https://leetcode.com/problems/longest-substring-without-repeating-characters/ Given a string, find the length of the longest substring without repeati...
分类:其他好文   时间:2015-05-10 23:36:51    阅读次数:159
GCJ 2015 Round 1C C. Less Money, More Problems
如果现在能够组成1...x 的面值,加上一种 x+1 面值的纸币,就能组成 1 ... x + C * (x + 1)的面值。 因为如果面值是 k  x+1 面值的纸币,并用原来的纸币组成 k % (x + 1),就得到了 k 。 每次添加不能被表示的最小面值的纸币是最优的。 Problem Up until today, the nation you live in ha...
分类:其他好文   时间:2015-05-10 22:32:43    阅读次数:248
Text Justification
https://leetcode.com/problems/text-justification/Given an array of words and a lengthL, format the text such that each line has exactlyLcharacters and...
分类:其他好文   时间:2015-05-10 22:01:04    阅读次数:133
leetcode--Linked List Cycle &Linked List Cycle II
Problem: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? https://oj.leetcode.com/problems/linked-list-cycle/ Problem II: ...
分类:其他好文   时间:2015-05-10 15:44:57    阅读次数:121
POJ 2151 Check the difficulty of problems(概率dp啊)
POJ 2151 Check the difficulty of problems(概率dp啊)...
分类:其他好文   时间:2015-05-10 11:26:16    阅读次数:116
Sqrt(x)
https://leetcode.com/problems/sqrtx/Implementint sqrt(int x).Compute and return the square root ofx.解题思路:这道题的题意是,算出最接近sqrt(x)的整数,正好等于或者略小于。这里注意的是,不能mi...
分类:其他好文   时间:2015-05-09 22:04:13    阅读次数:175
Wildcard Matching
https://leetcode.com/problems/wildcard-matching/Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Mat...
分类:其他好文   时间:2015-05-09 21:54:23    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!