码迷,mamicode.com
首页 >  
搜索关键字:leedcode    ( 225个结果
[leedcode 135] Candy
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi...
分类:其他好文   时间:2015-07-26 18:50:10    阅读次数:104
[leedcode 134] Gas Station
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[...
分类:其他好文   时间:2015-07-26 17:13:24    阅读次数:112
[leedcode 133] Clone Graph
Clone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.OJ's undirected graph serialization:Nodes are labeled uniq...
分类:其他好文   时间:2015-07-26 17:04:08    阅读次数:83
[leedcode 132] Palindrome Partitioning II
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
分类:其他好文   时间:2015-07-26 15:25:58    阅读次数:128
[leedcode 131] Palindrome Partitioning
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:其他好文   时间:2015-07-26 15:24:54    阅读次数:98
[leedcode 130] Surrounded Regions
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:其他好文   时间:2015-07-26 14:01:13    阅读次数:85
[leedcode 129] Sum Root to Leaf Numbers
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:其他好文   时间:2015-07-24 23:54:38    阅读次数:107
[leedcode 125] Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:其他好文   时间:2015-07-24 22:29:39    阅读次数:145
[leedcode 128] Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:其他好文   时间:2015-07-24 22:14:56    阅读次数:115
[leedcode 123] Best Time to Buy and Sell Stock III
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2015-07-24 20:41:53    阅读次数:82
225条   上一页 1 ... 10 11 12 13 14 ... 23 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!