Hi, My reverse Linked list is not working
reversePointerIteratively this the method
Hi, My reverse Linked list is not working
reversePointerIteratively this the method
fixed your code
thanks, I have one doubt: Node temp = tail; this.tail=head; // tail is point to head this.head=temp; // head is point to tail i dont understan belwo 2 lines this.tail.next=null; this.head = prev;