上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 118 下一页
摘要: 92_反转链表II package 链表; import 二叉树.二叉搜索树.TreeNode; /** * https://leetcode-cn.com/problems/reverse-linked-list-ii/ * @author Huangyujun * *思路: 断链前一个的指针 ( 阅读全文
posted @ 2021-12-19 23:07 一乐乐 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 876_链表的中间结点 package 链表; /** * https://leetcode-cn.com/problems/middle-of-the-linked-list/ * @author Huangyujun * */ public class _876_链表的中间结点 { public 阅读全文
posted @ 2021-12-19 23:06 一乐乐 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 86_分隔链表 package 链表; /** * https://leetcode-cn.com/problems/partition-list/ * @author Huangyujun * */ public class _86_分隔链表 { public ListNode partition 阅读全文
posted @ 2021-12-19 23:05 一乐乐 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 83_删除排序链表中的重复元素 package 链表; /** * https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list/ * * @author Huangyujun 题意:存在一个按升序排列的链表 */ publi 阅读全文
posted @ 2021-12-19 23:04 一乐乐 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 24_两两交换链表中的节点 package 链表; /** * https://leetcode-cn.com/problems/swap-nodes-in-pairs/ * * @author Huangyujun * */ public class _24_两两交换链表中的节点 { // pub 阅读全文
posted @ 2021-12-19 22:36 一乐乐 阅读(30) 评论(0) 推荐(0) 编辑
上一页 1 ··· 62 63 64 65 66 67 68 69 70 ··· 118 下一页