Question DSA-LL-0024
EasyIf a singly linked list also keeps a tail pointer, how fast is insertion at the end?
- A.
O(n²)
- B.
O(n)
- 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
If a singly linked list also keeps a tail pointer, how fast is insertion at the end?
O(n²)
O(n)
Sign up free to see the answer and a step-by-step explanation.
O(log n)
O(1)