Linked List - Reverse a linked list (iterative, data)
Hey Preesh, you haven’t created the node class and you are making the objects of class node, that’s not possible. So, first create a class node that will store data and pointer to next node.
Hey Preesh, you haven’t created the node class and you are making the objects of class node, that’s not possible. So, first create a class node that will store data and pointer to next node.