版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_36264495/article/details/84781066
Node node=new Node(e);
node.next=head;
head=node;
等价于head=new Node(e,head);
Node node=new Node(e);
node.next=head;
head=node;
等价于head=new Node(e,head);