Doubly Linked List
beginnerEach node holds prev and next pointers enabling O(1) deletion at any known node and backward traversal.
Doubly Linked List is Empty
Each node holds prev and next pointers enabling O(1) deletion at any known node and backward traversal.
Category: data-structure
Difficulty: beginner
Time Complexity: O(1) insert/delete (given node), O(n) search
Space Complexity: O(n)
View Doubly Linked List VisualizationEach node holds prev and next pointers enabling O(1) deletion at any known node and backward traversal.
Doubly Linked List is Empty