题目标签:Linked List 题目让我们自己设计一个 linked list,可以是单向和双向的.这里选的是单向,题目并不是很难,但要考虑到所有的情况,具体看code. Java Solution: Runtime: 56 ms, faster than 21.21% Memory Usage: 45.2 MB, less than 88.89% 完成日期:07/08/2019 关键点:edge cases public class ListNode { int val; ListNode…