摘要:
public static DoubleNode reverseLinklist(DoubleNode head){ DoubleNode pre=null; //p引用(指针)指向null DoubleNode next=null; while (head!=null){ next=head.ne 阅读全文
posted @ 2022-02-09 11:56
狂忍日记
阅读(50)
评论(0)
推荐(0)
摘要:
public static Node reverseLinklist(Node head){ Node pre=null; //pre引用(指针)指向null Node next=null; while (head!=null){ next=head.next; //next指针指向head.nex 阅读全文
posted @ 2022-02-09 11:54
狂忍日记
阅读(50)
评论(0)
推荐(0)

浙公网安备 33010602011771号