IBM Interview Question

How do you reverse a linked list?

Interview Answer

Anonymous

Jul 20, 2026

I explained the iterative approach using three pointers (prev, current, and next), discussed the time complexity of O(n) and space complexity of O(1), and walked through the algorithm step by step.