資料結構›Ch4 鏈結串列第 9 題/共 22 題
9. Linked List、複雜度分析、Tail Pointer
#DS-04-009易Linked List複雜度分析Tail Pointer
There is a linked-list with elements, which are . Let be the time complexity of inserting a new element to the tail of the list, and be that of deleting the last element . If there is only one pointer pointed to the head of the list, we know to access the list is time-consuming, and functions and are denoted as and in this case. To improve it, we may also add another pointer pointed to the tail of it, so the functions and become and . Which of the following option is false if becomes large.
📄 台大110
▤完整推導請見《WH 資工筆記 · 資料結構》Ch4 鏈結串列