資料結構›Ch3 堆疊與佇列第 8 題/共 28 題
8. Queue、Linked List實作
#DS-03-008易QueueLinked List實作
When implementing the data structure of queue with a linked list, which of the following design is better, (a) or (b), when efficiency is considered? (a) insert at the front of the linked list and remove from the end of the linked list; (b) insert at the end of the linked list and remove from the front of the linked list; Please justify your answer.
📄 台大112
▤完整推導請見《WH 資工筆記 · 資料結構》Ch3 堆疊與佇列