摘要:
2_两数相加 package 链表; /** * https://leetcode-cn.com/problems/add-two-numbers/ * * @author Huangyujun */ public class _2_两数相加 { // 题目例子:输入:l1 = [9,9,9,9,9 阅读全文
摘要:
19_删除链表的倒数第N个结点 package 链表; import java.util.ArrayList import java.util.Deque; import java.util.LinkedList; import java.util.List; /** * 官网上的: ListNod 阅读全文
摘要:
160_相交链表 package 链表; import java.util.HashSet; import java.util.Set; /** * https://leetcode-cn.com/problems/intersection-of-two-linked-lists/ * @autho 阅读全文
摘要:
142_环形链表II package 链表; import java.util.HashSet; import java.util.Set; /** * https://leetcode-cn.com/problems/linked-list-cycle-ii/ * @author Huangyuj 阅读全文
摘要:
141_环形链表 package 链表; import java.util.HashSet; import java.util.Set; /** * https://leetcode-cn.com/problems/linked-list-cycle/ * * @author Huangyujun 阅读全文