What would be the asymptotic time complexity to insert an element at the second position in thelinked list?
A. O(1)
B. O(n)
C. O(n2)
D. O(n3)
Answer:A
What would be the asymptotic time complexity to insert an element at the second position in thelinked list?
A. O(1) B. O(n) C. O(n2) D. O(n3)