摘要:
public class Solution { public int strStr(String haystack, String needle) { if(haystack.equals("")&&needle.equals("")) return 0; int size1=haystack.length(); i... 阅读全文
posted @ 2016-08-10 21:01
阿怪123
阅读(111)
评论(0)
推荐(0)
摘要:
public class Solution { public int removeDuplicates(int[] nums) { int size=nums.length; int last=0; boolean isHead=true; int lastIndex=0; for(int i=0;i<siz... 阅读全文
posted @ 2016-08-10 20:47
阿怪123
阅读(124)
评论(0)
推荐(0)
摘要:
import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class Solution { public List> threeSum(int[] nums) { int size=nums.length; List> res=new ArrayL... 阅读全文
posted @ 2016-08-10 20:34
阿怪123
阅读(118)
评论(0)
推荐(0)

浙公网安备 33010602011771号