Closed sparshiigupta closed 3 years ago
Aim : Given the head of a linked list, rotate the linked list to the right by k places.
Input: head = [1,2,3,4,5], k = 2 Output: [4,5,1,2,3]
Details : I would like to provide a C++ solution to this problem. Please assign this issue to me @Vanshikagarg17
You can start working on this issue. All the best!
Aim : Given the head of a linked list, rotate the linked list to the right by k places.
Input: head = [1,2,3,4,5], k = 2 Output: [4,5,1,2,3]
Details : I would like to provide a C++ solution to this problem. Please assign this issue to me @Vanshikagarg17