摘要:
13、滑动窗口的最大值 给你一个整数数组 nums,有一个大小为 k 的滑动窗口从数组的最左侧移动到数组的最右侧。你只可以看到在滑动窗口内的 k 个数字。滑动窗口每次只向右移动一位。 返回 滑动窗口中的最大值 。 示例 1: 输入:nums = [1,3,-1,-3,5,3,6,7], k = 3 阅读全文
posted @ 2025-06-07 21:02
万能包哥
阅读(11)
评论(0)
推荐(0)
|
摘要:
13、滑动窗口的最大值 给你一个整数数组 nums,有一个大小为 k 的滑动窗口从数组的最左侧移动到数组的最右侧。你只可以看到在滑动窗口内的 k 个数字。滑动窗口每次只向右移动一位。 返回 滑动窗口中的最大值 。 示例 1: 输入:nums = [1,3,-1,-3,5,3,6,7], k = 3 阅读全文
posted @ 2025-06-07 21:02
万能包哥
阅读(11)
评论(0)
推荐(0)
摘要:
I am sorry to... have kept you waiting so long. inform you that have not been accepted. Please don't hesitate to... ask me any questions. to call. con 阅读全文
posted @ 2025-06-06 22:12
万能包哥
阅读(7)
评论(0)
推荐(0)
摘要:
11、找到字符串中所有的字母异位词 给定两个字符串 s 和 p,找到 s 中所有 p 的 异位词 的子串,返回这些子串的起始索引。不考虑答案输出的顺序。 示例 1: 输入: s = "cbaebabacd", p = "abc" 输出: [0,6] 解释: 起始索引等于 0 的子串是 "cba", 阅读全文
posted @ 2025-06-06 21:32
万能包哥
阅读(17)
评论(0)
推荐(0)
摘要:
Do you enjoy...? cooking your job shopping watching sports walking on the beach. would you mind...? taking me home waiting outside walking the dog giv 阅读全文
posted @ 2025-06-05 20:10
万能包哥
阅读(7)
评论(0)
推荐(0)
摘要:
9、三数之和 给你一个整数数组 nums ,判断是否存在三元组 [nums[i], nums[j], nums[k]] 满足 i != j、i != k 且 j != k ,同时还满足 nums[i] + nums[j] + nums[k] == 0 。请你返回所有和为 0 且不重复的三元组。 注意 阅读全文
posted @ 2025-06-05 19:19
万能包哥
阅读(6)
评论(0)
推荐(0)
摘要:
get out of here. get rid of mosquitoes. learn a foreign language. Nothing is more...than... important health pleasant traveling valuable friendship I 阅读全文
posted @ 2025-06-04 19:52
万能包哥
阅读(22)
评论(0)
推荐(0)
摘要:
7、移动零 给定一个数组 nums,编写一个函数将所有 0 移动到数组的末尾,同时保持非零元素的相对顺序。 请注意 ,必须在不复制数组的情况下原地对数组进行操作。 示例 1: 输入: nums = [0,1,0,3,12] 输出: [1,3,12,0,0] 示例 2: 输入: nums = [0] 阅读全文
posted @ 2025-06-04 19:25
万能包哥
阅读(7)
评论(0)
推荐(0)
摘要:
How come you didn't come to the party? Where can I...? Where can I find her. Where can I get the map? Where can I rent a car? Where can I take a taxi? 阅读全文
posted @ 2025-06-03 20:23
万能包哥
阅读(25)
评论(0)
推荐(0)
摘要:
5、字母异位词分组 给你一个字符串数组,请你将 字母异位词 组合在一起。可以按任意顺序返回结果列表。 字母异位词 是由重新排列源单词的所有字母得到的一个新单词。 示例 1: 输入: strs = ["eat", "tea", "tan", "ate", "nat", "bat"] 输出: [["ba 阅读全文
posted @ 2025-06-03 19:48
万能包哥
阅读(7)
评论(0)
推荐(0)
摘要:
What does your child enjoy doing in thire free time? Drawing and play games. What's your favoritite holiday? My favorite holiday is Christmas. Could y 阅读全文
posted @ 2025-06-02 13:58
万能包哥
阅读(18)
评论(0)
推荐(0)
|