摘要: 题目列表 203.移除链表元素(LeetCode) 707.设计链表(LeetCode) 206.反转链表(LeetCode) 解题过程 203.移除链表元素 题目描述 给你一个链表的头节点 head 和一个整数 val ,请你删除链表中所有满足 Node.val == val 的节点,并返回 新的 阅读全文
posted @ 2025-04-25 18:31 cbdsszycfs 阅读(477) 评论(0) 推荐(0)
摘要: 题目列表 209长度最小的子数组(LeetCode) 27移除元素(LeetCode) 58.区间和(卡码网) 解题过程 209长度最小的子数组 题目描述 给定一个含有 n 个正整数的数组和一个正整数 target 。 找出该数组中满足其总和大于等于 target 的长度最小的 子数组 [numsl 阅读全文
posted @ 2025-04-24 15:10 cbdsszycfs 阅读(548) 评论(0) 推荐(0)