CodeMosa
Master LeetCode Patterns
All Patterns
Collections
Sign In
Back
Linked Lists
Question 1 of 10
10% Complete
Easy
What's the typical space and time complexity to reverse a singly linked list iteratively?
A
O(n) time, O(1) space
B
O(n) time, O(n) space
C
O(log n) time, O(1) space
D
O(1) time, O(1) space