Question DSA-LL-0074
HardWhich operation is O(1) on a singly linked list with both head and tail pointers?
- A.
Deleting the tail
- B.
Accessing the k-th node
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Linked Lists question
Which operation is O(1) on a singly linked list with both head and tail pointers?
Deleting the tail
Accessing the k-th node
Sign up free to see the answer and a step-by-step explanation.
Finding the middle
Appending at the tail