labuladong / fucking-algorithm

刷算法全靠套路,认准 labuladong 就够了!English version supported! Crack LeetCode, not only how, but also why.
https://labuladong.online/algo/
125.83k stars 23.22k forks source link

[bug][go]reverse-nodes-in-k-group #1544

Closed Cupcc closed 2 months ago

Cupcc commented 9 months ago

请在提交 bug 之前先搜索

出错的题目链接

https://leetcode.cn/problems/reverse-nodes-in-k-group/description/

报错信息

pre, cur, nxt := nil, head, head use of untyped nil in assignment (solution.go)

你是否愿意提交 PR 修复这个 bug?

Cupcc commented 9 months ago

仓库中代码已修改,网站中代码未修改