Question DSA-LL-0035
EasyInsertion and removal at the head of a singly linked list are both O(1). Which data structure can it implement directly?
- A.
A stack
- B.
A hash table
- 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
Insertion and removal at the head of a singly linked list are both O(1). Which data structure can it implement directly?
A stack
A hash table
Sign up free to see the answer and a step-by-step explanation.
A heap
A binary search tree