码迷,mamicode.com
首页 >  
搜索关键字:lintcode    ( 1584个结果
LintCode-Word Segmentation
Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.ExampleGiv...
分类:其他好文   时间:2014-12-25 01:25:31    阅读次数:368
LintCode-K Sum
Given n distinct positive integers, integer k (k i) d[i][j][v] += d[i][j-1][v];22 if (v>=A[j-1]) d[i][j][v] += d[i-1][j-1][v-A[j-1...
分类:其他好文   时间:2014-12-24 13:22:01    阅读次数:206
LintCode-Minimum Adjustment Cost
Given an integer array, adjust each integers so that the difference of every adjcent integers are not greater than a given number target.If the array ...
分类:其他好文   时间:2014-12-24 06:25:41    阅读次数:170
Lintcode: Sort Colors II 解题报告
Sort Colors II 原题链接: http://lintcode.com/zh-cn/problem/sort-colors-ii/#Given an array ofnobjects with k different colors (numbered from 1 to k), sort ...
分类:其他好文   时间:2014-12-22 00:47:02    阅读次数:263
Lintcode: Majority Number II 解题报告
Majority Number II 原题链接: http://lintcode.com/en/problem/majority-number-ii/#Given an array of integers, the majority number is the number that occurs ...
分类:其他好文   时间:2014-12-20 20:46:22    阅读次数:301
Lintcode: Interleaving Positive and Negative Numbers 解题报告
Interleaving Positive and Negative Numbers 原题链接 : http://lintcode.com/zh-cn/problem/interleaving-positive-and-negative-numbers/Given an array with pos...
分类:其他好文   时间:2014-12-20 18:08:37    阅读次数:404
Lintcode: Implement Queue by Stacks 解题报告
Implement Queue by Stacks 原题链接 : http://lintcode.com/zh-cn/problem/implement-queue-by-stacks/#As the title described, you should only use two stacks t...
分类:其他好文   时间:2014-12-20 16:46:10    阅读次数:270
Lintcode: Majority Number 解题报告
Majority Number 原题链接:http://lintcode.com/en/problem/majority-number/#Given an array of integers, the majority number is the number that occurs more th...
分类:其他好文   时间:2014-12-20 08:13:29    阅读次数:306
Lintcode: Fast Power 解题报告
Fast Power 原题链接:http://lintcode.com/en/problem/fast-power/#Calculate the an% b where a, b and n are all 32bit integers.ExampleFor 231 % 3 = 2For 10010...
分类:其他好文   时间:2014-12-19 23:22:09    阅读次数:241
Lintcode: Minimum Subarray 解题报告
Minimum Subarray原题链接: http://lintcode.com/zh-cn/problem/minimum-subarray/#Given an array of integers, find the subarray with smallest sum.Return the s...
分类:其他好文   时间:2014-12-19 19:05:04    阅读次数:250
1584条   上一页 1 ... 156 157 158 159 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!