Neocortex 🧠

Search

Search IconIcon to open search

Doubly Linked List

Last updated Nov 16, 2021 Edit Source

Doubly linked list are very similar to Linked List except that instead of having one pointer at each node, which points to the next node, each node has two pointers: one pointing to the next node and the other pointing to the previous node. The big-Oh notations for each operation remains the same. Except the operation of removing the tail node, since you can update the reference to the tail node, removing the tail takes $O(1)$ time.


Interactive Graph