P823 Play with Linked List
Play with Linked List
题目描述
Given a singly linked list L1→L2→⋯→Ln−1 →Ln and an integer 1≤k<n, you are supposed to rearrange the links to o
Given a singly linked list L1→L2→⋯→Ln−1 →Ln and an integer 1≤k<n, you are supposed to rearrange the links to o