Reverse
In this lesson, you will learn how to reverse a linked list in both an iterative and recursive manner.
We'll cover the following
In this lesson, we will look at how we can reverse a singly linked list in an iterative way and a recursive way.
Let’s first be clear about what we mean by reversing a linked list. Have a look at the illustration below to get a clear idea.
Get hands-on with 1200+ tech skills courses.