Question: What is the time complexity of deleting an element from a linked list?
Options:
Correct Answer: O(n)
Solution:
The time complexity is O(n) in the worst case, as you may need to traverse the list to find the element to delete.