Make delicious recipes!


Reverse a linked list in groups of K


Example: If the list is 5->6->7->8->9->10->11->12->null and k is 3, then output would be:

7->6->5->10->9->8->12->11->null





Like us on Facebook to remain in touch
with the latest in technology and tutorials!


Got a thought to share or found a
bug in the code?
We'd love to hear from you:

Name:
Email: (Your email is not shared with anybody)
Comment:

Facebook comments:

Site Owner: Sachin Goyal