摘要: public class Solution { public int[] searchRange(int[] nums, int target) { int []res=new int[2]; int size=nums.length; int left=0; int right=size-1; ... 阅读全文
posted @ 2016-08-02 23:15 阿怪123 阅读(173) 评论(0) 推荐(0) 编辑
摘要: import java.util.Arrays; public class Solution { public int threeSumClosest(int[] nums, int target) { int size=nums.length; int res=0; if(size<3) return 0; ... 阅读全文
posted @ 2016-08-02 18:59 阿怪123 阅读(104) 评论(0) 推荐(0) 编辑