bugl
Home
Learn
Patterns
Paths
Search
Premium
Auto
Home
Learn
Patterns
Paths
Medium
Linked List
LC 61
Rotate List
Given the head of a linked list, rotate the list to the right by k places.
Asked at 6 companies
Adobe
Amazon
Bloomberg
+3 more
Hints
1.
Think about which data structure fits best
2.
Consider the time complexity of your approach
3.
Look for patterns in the constraints
Start Puzzle
LeetCode