Question: What is the time complexity of deleting a node 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, you can delete it in constant time O(1) by adjusting pointers.