Question: What is the time complexity of deleting an element from a linked list when you have a pointer to that node?
Options:
Correct Answer: O(1)
Solution:
If you have a pointer to the node to be deleted, the deletion can be done in constant time, O(1).