* Definition for singly-linked list.
* public class ListNode {
* int val;
* ListNode next;
* ListNode(int x) { val = x; }
* }
转载于:https://www.cnblogs.com/MarkLeeBYR/p/10677747.html