码迷,mamicode.com
首页 >  
搜索关键字:leetcode 19    ( 34993个结果
[leetcode]Evaluate Reverse Polish Notation @ Python
原题地址:https://oj.leetcode.com/problems/evaluate-reverse-polish-notation/题意:Evaluate the value of an arithmetic expression inReverse Polish Notation.Val...
分类:编程语言   时间:2014-06-03 11:18:22    阅读次数:335
[leetcode]Reverse Words in a String @ Python
原题地址: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...
分类:编程语言   时间:2014-06-03 11:13:36    阅读次数:258
[leetcode]Word Break @ Python
原题地址:https://oj.leetcode.com/problems/word-break/题意:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated...
分类:编程语言   时间:2014-06-03 09:14:24    阅读次数:293
[leetcode]Max Points on a Line @ Python
原题地址: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...
分类:编程语言   时间:2014-06-03 08:55:48    阅读次数:282
[leetcode]Word Break II @ Python
原题地址:https://oj.leetcode.com/problems/word-break-ii/题意:Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each ...
分类:编程语言   时间:2014-06-03 07:13:21    阅读次数:339
[leetcode]Candy @ Python
原题地址:https://oj.leetcode.com/problems/candy/题意:There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to ...
分类:编程语言   时间:2014-05-31 21:58:12    阅读次数:410
[leetcode]Gas Station @ Python
原题地址:https://oj.leetcode.com/problems/gas-station/题意:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You ha...
分类:编程语言   时间:2014-05-31 16:58:18    阅读次数:259
LeetCode: Implement strStr() [027]
【题目】Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.【题意】实现库函数strStr(), 功能是...
分类:其他好文   时间:2014-05-31 04:44:14    阅读次数:218
LeetCode: Longest Substring Without Repeating Characters 题解
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-05-30 23:46:09    阅读次数:453
Leetcode: Triangle
这道题还是挺难的一道题,想法很重要 1 public class Solution { 2 public int minimumTotal(List> triangle) { 3 int size = triangle.size(); 4 int[] leve...
分类:其他好文   时间:2014-05-30 18:22:50    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!