Q) Given a linked list, write a function to reverse every alternate k nodes (where k is an input to the function) in an efficient way
code- https://ide.codingblocks.com/s/284325
output is not coming correct pls help
Q) Given a linked list, write a function to reverse every alternate k nodes (where k is an input to the function) in an efficient way
code- https://ide.codingblocks.com/s/284325
output is not coming correct pls help