Question 9
Consider a singly linked list implemented using the above class. Assume that: • variable points to the first node of the linked list, • variable points to the last node of the linked list, • the linked list contains nodes where , Which of the following operations cannot be guaranteed to run in constant time?
Inserting a new node at the front of the linked list.
Inserting a new node at the end of the linked list.
Deleting the first node of the linked list.
Deleting the last node of the linked list.
Accessing the second last node of the linked list.