What is the space complexity for storing a singly linked list with n nodes?
O(n)
O(1)
O(log n)
O(n^2)
This question is part of this quiz :