What would be the asymptotic time complexity to insert an element at the front of the linked list (head is known)?
Posted: Wed Jul 13, 2022 7:41 pm
a) O(1)
b) O(n)
c) O(n2)
d) O(n3)
b) O(n)
c) O(n2)
d) O(n3)
Accurate answers. Every time.
https://answerhappy.com/