摘要: public class Solution { public int lengthOfLongestSubstring(String s) { if (s.length() == 0) { return 0; } int maxLength = 0; char[] ar... 阅读全文
posted @ 2016-01-09 18:27 于晓飞 阅读(379) 评论(0) 推荐(0)
摘要: public class Solution { public int[] twoSum(int[] nums, int target) { int[] defaultResult={0,0}; HashMap map=new HashMap(); fo... 阅读全文
posted @ 2016-01-05 21:27 于晓飞 阅读(107) 评论(0) 推荐(0)