摘要:
原题地址:https://oj.leetcode.com/problems/gas-station/题意:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You ha... 阅读全文
posted @ 2014-05-30 14:20
南郭子綦
阅读(2777)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/candy/题意:There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to ... 阅读全文
posted @ 2014-05-30 13:20
南郭子綦
阅读(1685)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/word-break-ii/题意:Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each ... 阅读全文
posted @ 2014-05-30 11:53
南郭子綦
阅读(4517)
评论(1)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/word-break/题意:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated... 阅读全文
posted @ 2014-05-30 10:53
南郭子綦
阅读(6088)
评论(1)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/max-points-on-a-line/题意:Givennpoints on a 2D plane, find the maximum number of points that lie on the same strai... 阅读全文
posted @ 2014-05-30 10:35
南郭子綦
阅读(2793)
评论(1)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/evaluate-reverse-polish-notation/题意:Evaluate the value of an arithmetic expression inReverse Polish Notation.Val... 阅读全文
posted @ 2014-05-30 09:55
南郭子綦
阅读(3093)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/reverse-words-in-a-string/题意:Given an input string, reverse the string word by word.For example,Given s = "the s... 阅读全文
posted @ 2014-05-30 09:27
南郭子綦
阅读(2926)
评论(0)
推荐(0)

浙公网安备 33010602011771号