📅  最后修改于: 2022-03-11 14:58:39.594000             🧑  作者: Mango
// Definition for singly-linked list.
struct SinglyListNode {
int val;
SinglyListNode *next;
//Constructor
SinglyListNode(int x) : val(x), next(NULL) {}
};