Skip to main content
Loading page content
Algo
Flow
Visualizers
Mental Math
Dashboard
Log in
Sign up
Back to Visualizer
Question 1 of 5
Reversal
• Iterative Reverse
What is the time complexity of iteratively reversing a singly linked list of length n?
A
O(n^2)
B
O(n)
C
O(log n)
D
O(1)