leetcode-java
zxadcsdn
这个作者很懒,什么都没留下…
展开
-
Two Sum
Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not原创 2017-04-25 10:08:41 · 221 阅读 · 0 评论 -
Longgest SubString
longgest subString首先public int lengthOfLongestSubstring(String s) { if(s.length()==0) return 0; if(s.length()==1) return 1; Set<Character原创 2017-04-25 18:40:50 · 403 阅读 · 0 评论 -
Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a lin原创 2017-04-25 14:46:23 · 170 阅读 · 0 评论