JavaScript | Linked List | Question 10

Last Updated :
Discuss
Comments

What is the space complexity for storing a singly linked list with n nodes?

O(n)

O(1)

O(log n)

O(n^2)

Share your thoughts in the comments