The concept behind it is to traverse through a linked list from head to the ... while (p1.next != null) { p2 = p1.next; p1.next = p2.next; p2.next = head; ...
確定! 回上一頁