Question: In a doubly linked list, what is the time complexity for deleting a node given a pointer to that node?
Options:
Correct Answer: O(1)
Solution:
Deletion of a node in a doubly linked list can be done in O(1) time if you have a pointer to the node.