Question DSA-LL-0050
MediumIn a circular singly linked list with a pointer to the last node, how fast is inserting at the front?
- A.
Impossible
- 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
In a circular singly linked list with a pointer to the last node, how fast is inserting at the front?
Impossible
O(n)
Sign up free to see the answer and a step-by-step explanation.
O(1)
O(log n)