摘要: 第一次写的有些麻烦,不好,问题关键是默认两个链表长度相等,前面补0即可。 阅读全文
posted @ 2016-09-25 21:50 prog123 阅读(144) 评论(0) 推荐(0) 编辑
摘要: public class Solution { public int[] twoSum(int[] nums, int target) { int []sum = new int[2]; for(int i = 0; i < nums.length;i++) { for(int j = i+1; j < n... 阅读全文
posted @ 2016-09-25 21:37 prog123 阅读(148) 评论(0) 推荐(0) 编辑