資料結構›Ch4 鏈結串列第 7 題/共 22 題
7. Linked List、刪除操作
#DS-04-007易Linked List刪除操作
Write a pseudocode function that removes the nodes in even positions (the second, fourth, sixth, and so forth) in a given linked list. No return values are expected. Note: A node in a null-terminated linked list has one pointer, named 'next', that points to the next node if it is not null.
📄 台大110
▤完整推導請見《WH 資工筆記 · 資料結構》Ch4 鏈結串列