会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
prog123
博客园
首页
新随笔
联系
管理
订阅
2016年9月25日
leetcode 2 Add Two Numbers
摘要: 第一次写的有些麻烦,不好,问题关键是默认两个链表长度相等,前面补0即可。
阅读全文
posted @ 2016-09-25 21:50 prog123
阅读(144)
评论(0)
推荐(0)
编辑
leetcode1
摘要: 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)
编辑
公告