Data Structures Practice Test
Data Structures Linked Lists
What is the time complexity of inserting a node at the beginning of a singly linked list?
Select your answer
A
O(n)
B
O(log n)
C
O(1)
D
O(n²)
Hint