資料結構›Ch4 鏈結串列第 4 題/共 22 題
4. Circular Doubly-Linked List、複雜度分析
#DS-04-004易Circular Doubly-Linked List複雜度分析
Consider a sorted circular doubly-linked list where the head element points to the smallest element in the list.
a. What is the complexity of determining whether a given element exists in the list?
b. What is the complexity of deleting a given element e in the list (not including the cost of finding it)?
📄 台大114
▤完整推導請見《WH 資工筆記 · 資料結構》Ch4 鏈結串列