摘要: 题目 "24. 两两交换链表中的节点" 题解 迭代的做法,不断交换两个链表即可,有个小技巧是设置一个pre来简化操作,代码如下: 阅读全文
posted @ 2019-08-03 22:48 狸猫副园长 阅读(152) 评论(0) 推荐(0) 编辑