Back to QuestionsPractice with This Question
Rotate List
43.5K views•Asked at Meta•
Medium
Question Explain
Given the head of a linked list, rotate the list to the right by $k$ places.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.