LeetCode25.k个一组翻转链表

题目来源:https://leetcode-cn.com/problems/reverse-nodes-in-k-group/description/ 题目描述: 该题目是对反转一个链表的升级版。 如何反转一个链表我在之前的博客已经写了:https://blog.csdn.net/qq_39241239/article/details/82973024 算法描述: 1.判断链表,若链表为空或k=1
相关文章
相关标签/搜索