码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
String to Integer (atoi)
https://leetcode.com/problems/string-to-integer-atoi/Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. ...
分类:其他好文   时间:2015-05-04 20:08:49    阅读次数:128
ZigZag Conversion
https://leetcode.com/problems/zigzag-conversion/题目理解:http://blog.csdn.net/ljiabin/article/details/40477429The string"PAYPALISHIRING"is written in a zi...
分类:其他好文   时间:2015-05-04 15:15:28    阅读次数:118
Happy Number
https://leetcode.com/problems/happy-number/Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following ...
分类:移动开发   时间:2015-05-04 15:12:32    阅读次数:123
Isomorphic Strings
https://leetcode.com/problems/isomorphic-strings/Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters...
分类:其他好文   时间:2015-05-04 13:30:33    阅读次数:118
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 repeatin...
分类:其他好文   时间:2015-05-03 13:14:25    阅读次数:121
Add Two Numbers
https://leetcode.com/problems/add-two-numbers/You are given two linked lists representing two non-negative numbers. The digits are stored in reverse o...
分类:其他好文   时间:2015-05-03 11:48:50    阅读次数:122
[Leetcode][016] 3Sum Closest (Java)
题目:https://leetcode.com/problems/3sum-closest/【标签】Array; Two Pointers【个人分析】 这道题和它的姊妹题 3Sum 非常类似, 就不再多说了,具体一些的分析可以参考 [Leetcode][015] 3Sum 1 public cla....
分类:编程语言   时间:2015-05-03 07:05:54    阅读次数:128
[Leetcode][015] 3Sum (Java)
题目在这里:https://leetcode.com/problems/3sum/【标签】 Array; Two Pointers【个人分析】 老实交待,这个题卡半天,第一次做不会,抄别人的。过了很久,第二次做,还是不会……。好几次都是Time Limited Error。在看过正确答案之后,...
分类:编程语言   时间:2015-05-03 07:05:53    阅读次数:130
LeetCode OJ #2 Add Two Numbers
https://leetcode.com/problems/add-two-numbers/ 题意:两个链表表示两个数 , 2 4 3 5 6 4 按照加法的规则从左往右加以及 进位。 输出:和的链表。 仍然是水题。一些特殊情况需要考虑(这些做题的时候我考虑到了) 1、如果两个长度不等,如l1>l2  ,那么需要l1比l2多出来的部分加上进位copy到ans里 2、5+5的...
分类:其他好文   时间:2015-05-02 22:06:04    阅读次数:215
Logistic Regression and Gradient Descent
Logistic Regression and Gradient DescentLogistic regression is an excellent tool to know for classification problems. Classification problems are prob...
分类:其他好文   时间:2015-05-02 13:40:13    阅读次数:102
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!