Page 1 of 1

What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) O(1)
b) O(n)
c) θ(n)
d) θ(1)