What is the time complexity of inserting an element at the beginning of a linked list?
O(log n)
O(n)
O(1)
O(n^2)

Computer Science Exercises are loading ...