30:00
Given the head of a linked list, reverse the nodes of the list k at a time, and return the modified list.
The number of nodes is nnn.
1≤k≤n≤50001 \leq k \leq n \leq 50001≤k≤n≤5000
0≤Node.val≤10000 \leq \text{Node.val} \leq 10000≤Node.val≤1000
Start
0
1
2
3
4
5