LeetCode刷題筆記(Odd Even Linked List)

趁熱打鐵,又刷了一道中檔題,感覺難度還行,下面就和大家來分享一下經驗吧! 題目如下: Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value
相關文章
相關標籤/搜索