输入一个链表,反转链表后,输出链表的所有元素
摘要:
import com.doubleLinkedList.Node; public class ReverseList { public Node ReverseList1(Node head){ Node current=head; Node prevnode=null; Node newhead=null; ... 阅读全文
posted @ 2016-11-09 17:48 猫儿爹 阅读(1090) 评论(0) 推荐(0) 编辑