PTA || 02-線性結構3 Reversing Linked List

Given a constant KKK and a singly linked list LLL, you are supposed to reverse the links of every KKK elements on LLL. For example, given LLL being 1→2→3→4→5→6, if K=3K = 3K=3, then you must output 3→
相關文章
相關標籤/搜索