Reverse LL (Iterative)
Given a linked list, reverse it iteratively.
You don't need to print the elements, just reverse the LL duplicates and return the head of updated LL.
Input format : Linked list elements (separated by space and terminated by -1)
`
Comments
Post a Comment
Please give us your valuable feedback