Kartikey353 / Learn-DSA

4 stars 14 forks source link

rotateALinkedlist.cpp #31

Open priyanshuanand166 opened 1 year ago

priyanshuanand166 commented 1 year ago

Given a singly linked list, The task is to rotate the linked list counter-clockwise by k nodes.