📅  最后修改于: 2022-03-11 14:57:49.552000             🧑  作者: Mango
//node structure
class Node {
public int data;
public Node next;
};
class LinkedList {
public Node head;
//constructor to create an empty LinkedList
public LinkedList(){
head = null;
}
};