ankitapuri / DSA-guide

Trying to cover important DSA
MIT License
49 stars 113 forks source link

Rotate a linked list #283

Open pri1311 opened 3 years ago

pri1311 commented 3 years ago

Is your feature request related to a problem? Please describe. Question picked up from leetcode https://leetcode.com/problems/rotate-list/ Given the head of a linked list, rotate the list to the right by k places.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

pri1311 commented 3 years ago

Please assign this to me under crosswoc

abhinav5481 commented 3 years ago

Hi @ankitapuri I would like to solve it in Java. Please assign it to me in Java

Mudit-Jxin7 commented 1 year ago

Hi I would like to contribute to this issue if anyone else is not working on it in C++