Hi,
Do we need to create a new linked list or it is already there?
thanks
Linked List Doubt
hello @vatsal50

first u need to build the list from the given input , then u need to reverse the same linked list
not understood. Pls explain again
@vatsal50
first line of input will contain n and k .
next line will contain n integer, u need to use these n integer to build a linked list.
after that u need to reverse the link list in the group of k .that reverse first k nodes of list then next k so on .
and then print ur result as per output format
no i mean to ask is there a predefined linked list of integers given to us?
no . . . . . . . . . . . . .
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.