![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习
qq_41930811
这个作者很懒,什么都没留下…
展开
-
算法打卡第二周
1、两数相加:https://leetcode-cn.com/problems/add-two-numbers/ public ListNode addTwoNumbers(ListNode l1, ListNode l2) { int carry=0; ListNode newL=new ListNode(0); ListNode head=newL; do{ int x=l1==null?0:l1.val;原创 2021-03-15 15:44:12 · 70 阅读 · 0 评论 -
数据结构算法打卡第一周
1、面试题 01.03. URL化:https://leetcode-cn.com/problems/string-to-url-lcci/public String replaceSpaces(String S, int length) { char[] chars=S.toCharArray(); int size=chars.length; int fact =Math.min(length,size); int s=0;原创 2021-03-09 14:06:21 · 156 阅读 · 0 评论