<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Geek_的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Geek_</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Geek_]]></copyright><item><title><![CDATA[寻找最小覆盖子串 - LeetCode 76]]></title><link>https://blog.csdn.net/Geek_/article/details/133971332</link><guid>https://blog.csdn.net/Geek_/article/details/133971332</guid><author>Geek_</author><pubDate>Sun, 22 Oct 2023 11:52:42 +0800</pubDate><description><![CDATA[给定字符串s和t，我们要找到s中包含t所有字符的最小子串。如果不存在这样的子串，返回空字符串。]]></description><category></category></item><item><title><![CDATA[滑动窗口最大值]]></title><link>https://blog.csdn.net/Geek_/article/details/133873635</link><guid>https://blog.csdn.net/Geek_/article/details/133873635</guid><author>Geek_</author><pubDate>Mon, 16 Oct 2023 23:33:42 +0800</pubDate><description><![CDATA[给定一个整数数组nums和一个整数k，需要找到滑动窗口中的最大值。]]></description><category></category></item><item><title><![CDATA[统计和为 K 的子数组个数]]></title><link>https://blog.csdn.net/Geek_/article/details/133755308</link><guid>https://blog.csdn.net/Geek_/article/details/133755308</guid><author>Geek_</author><pubDate>Tue, 10 Oct 2023 20:17:21 +0800</pubDate><description><![CDATA[给定一个整数数组nums和一个整数k，找出数组中和为k的连续子数组的个数。]]></description><category></category></item><item><title><![CDATA[找到字符串中所有字母异位词]]></title><link>https://blog.csdn.net/Geek_/article/details/133750208</link><guid>https://blog.csdn.net/Geek_/article/details/133750208</guid><author>Geek_</author><pubDate>Tue, 10 Oct 2023 17:56:28 +0800</pubDate><description><![CDATA[给定一个字符串s，找出其中不含有重复字符的最长子串的长度。]]></description><category></category></item><item><title><![CDATA[无重复字符的最长子串问题解析]]></title><link>https://blog.csdn.net/Geek_/article/details/133750155</link><guid>https://blog.csdn.net/Geek_/article/details/133750155</guid><author>Geek_</author><pubDate>Tue, 10 Oct 2023 16:36:10 +0800</pubDate><description><![CDATA[给定一个字符串s，找出其中不含有重复字符的最长子串的长度。]]></description><category></category></item><item><title><![CDATA[接雨水问题]]></title><link>https://blog.csdn.net/Geek_/article/details/133471591</link><guid>https://blog.csdn.net/Geek_/article/details/133471591</guid><author>Geek_</author><pubDate>Sun, 01 Oct 2023 23:38:19 +0800</pubDate><description><![CDATA[给定一个由非负整数表示的柱状图，每个柱子的宽度为 1，计算这个柱状图可以接收多少雨水。]]></description><category></category></item><item><title><![CDATA[LeetCode 15.三数之和]]></title><link>https://blog.csdn.net/Geek_/article/details/133470554</link><guid>https://blog.csdn.net/Geek_/article/details/133470554</guid><author>Geek_</author><pubDate>Sun, 01 Oct 2023 22:15:06 +0800</pubDate><description><![CDATA[给你一个整数数组nums，判断是否存在三元组满足i!= ji!= k且j!= k，同时还满足。请你返回所有和为 0 且不重复的三元组。注意：答案中不可以包含重复的三元组。]]></description><category></category></item><item><title><![CDATA[盛最多水的容器]]></title><link>https://blog.csdn.net/Geek_/article/details/133468031</link><guid>https://blog.csdn.net/Geek_/article/details/133468031</guid><author>Geek_</author><pubDate>Sun, 01 Oct 2023 18:48:21 +0800</pubDate><description><![CDATA[给定一个长度为n的整数数组height。有n条垂线，第i条线的两个端点是(i, 0)和。找出其中的两条线，使得它们与 x 轴共同构成的容器可以容纳最多的水。返回容器可以储存的最大水量。说明：你不能倾斜容器。]]></description><category></category></item><item><title><![CDATA[LeetCode 283. 移动零]]></title><link>https://blog.csdn.net/Geek_/article/details/133467622</link><guid>https://blog.csdn.net/Geek_/article/details/133467622</guid><author>Geek_</author><pubDate>Sun, 01 Oct 2023 18:08:08 +0800</pubDate><description><![CDATA[给定一个数组nums，编写一个函数将所有 0 移动到数组的末尾，同时保持非零元素的相对顺序。请注意，必须在不复制数组的情况下原地对数组进行操作。]]></description><category></category></item><item><title><![CDATA[最长连续序列]]></title><link>https://blog.csdn.net/Geek_/article/details/133461266</link><guid>https://blog.csdn.net/Geek_/article/details/133461266</guid><author>Geek_</author><pubDate>Sun, 01 Oct 2023 12:14:20 +0800</pubDate><description><![CDATA[给定一个未排序的整数数组nums，找出数字连续的最长序列（不要求序列元素在原数组中连续）的长度。请你设计并实现时间复杂度为 O(n) 的算法解决此问题。]]></description><category></category></item><item><title><![CDATA[字母异位词分组：分类同字母异序词]]></title><link>https://blog.csdn.net/Geek_/article/details/133447000</link><guid>https://blog.csdn.net/Geek_/article/details/133447000</guid><author>Geek_</author><pubDate>Sun, 01 Oct 2023 01:30:00 +0800</pubDate><description><![CDATA[是Python标准库中的一个容器数据类型，它是内置字典（dict）的一个子类。与普通字典不同，允许你指定默认值的类型，当访问不存在的键时，会自动创建该键，并将其对应的值初始化为默认值的类型。在上面的代码中，我们使用了来创建一个默认值为列表的字典。这意味着如果访问不存在的键时，会自动创建该键，并将其对应的值初始化为一个空列表。这样，我们可以直接向列表中添加元素，而不需要担心键是否存在。是在处理一些特殊情况下非常方便的数据结构，它可以简化代码逻辑，使代码更加清晰。]]></description><category></category></item><item><title><![CDATA[两数之和：寻找目标值的两个元素]]></title><link>https://blog.csdn.net/Geek_/article/details/133445412</link><guid>https://blog.csdn.net/Geek_/article/details/133445412</guid><author>Geek_</author><pubDate>Sun, 01 Oct 2023 00:01:20 +0800</pubDate><description><![CDATA[给定一个整数数组nums和一个整数目标值target，需要在该数组中找出和为目标值target的两个整数，并返回它们的数组下标。]]></description><category></category></item><item><title><![CDATA[缺失的第一个正数：高效解法与技术]]></title><link>https://blog.csdn.net/Geek_/article/details/133139148</link><guid>https://blog.csdn.net/Geek_/article/details/133139148</guid><author>Geek_</author><pubDate>Thu, 21 Sep 2023 17:02:54 +0800</pubDate><description><![CDATA[在计算机编程中，有时候需要寻找一个未排序整数数组中没有出现的最小的正整数。这篇技术博客将详细讨论这个问题，并提供一个时间复杂度为 O(n) 且只使用常数级别额外空间的解决方案。]]></description><category></category></item><item><title><![CDATA[除自身以外数组的乘积：高效解法与技术]]></title><link>https://blog.csdn.net/Geek_/article/details/133136264</link><guid>https://blog.csdn.net/Geek_/article/details/133136264</guid><author>Geek_</author><pubDate>Thu, 21 Sep 2023 15:58:16 +0800</pubDate><description><![CDATA[背景
在计算机编程中，有一类有趣的问题涉及到在不使用除法的情况下，计算数组中每个元素除了自身以外其他元素的乘积。这篇技术博客将详细探讨这个问题，以及如何在时间复杂度为 O(n) 内解决它。
问题描述
leetcode 238
给定一个整数数组 nums，需要返回一个数组 answer，其中 answer[i] 等于数组 nums 中除了 nums[i] 之外的所有元素的乘积。请不要使用除法，且在 O(n) 时间复杂度内完成此题。
示例 1:
输入: nums = [1,2,3,4]
输出: [24,12,8]]></description><category></category></item><item><title><![CDATA[Python Subprocess介绍：基础和示例]]></title><link>https://blog.csdn.net/Geek_/article/details/133129299</link><guid>https://blog.csdn.net/Geek_/article/details/133129299</guid><author>Geek_</author><pubDate>Thu, 21 Sep 2023 11:23:53 +0800</pubDate><description><![CDATA[Python Subprocess模块是一种工具，允许您从Python代码中运行其他程序或命令。它可以用于启动新程序、向它们发送数据并获取结果。它就像是使用Python而不是直接在命令提示符中键入命令来向计算机发出命令。该模块使得自动化任务和将其他程序与Python代码集成变得容易。例如，您可以使用Python Subprocess模块在Python代码中运行shell命令（如“ls”或“ping”），并获取该命令的输出。您还可以使用它来运行其他Python脚本或在Windows上运行.exe文件。]]></description><category></category></item><item><title><![CDATA[轮转数组：解决数组元素向右轮转的高效算法]]></title><link>https://blog.csdn.net/Geek_/article/details/133020128</link><guid>https://blog.csdn.net/Geek_/article/details/133020128</guid><author>Geek_</author><pubDate>Tue, 19 Sep 2023 11:27:20 +0800</pubDate><description><![CDATA[在计算机编程中，经常会遇到数组操作的问题，其中之一就是将数组中的元素向右轮转k个位置。这篇技术博客将详细介绍这个问题，探讨解决方案，并提供实际的Python代码来解决这个问题。]]></description><category></category></item><item><title><![CDATA[合并区间：解决区间重叠问题的高效算法]]></title><link>https://blog.csdn.net/Geek_/article/details/133018094</link><guid>https://blog.csdn.net/Geek_/article/details/133018094</guid><author>Geek_</author><pubDate>Tue, 19 Sep 2023 10:51:53 +0800</pubDate><description><![CDATA[合并区间是一个常见的编程问题，通常需要对区间进行排序并遍历以合并重叠的区间。通过使用合适的数据结构和算法，我们可以高效地解决这个问题。上面的代码演示了一个使用排序和遍历的解决方案，它可以有效地合并区间并返回一个不重叠的结果数组。理解这种问题的解决思路可以帮助你更好地应对类似的区间操作问题。]]></description><category></category></item><item><title><![CDATA[深入了解函数调用的执行过程]]></title><link>https://blog.csdn.net/Geek_/article/details/132986603</link><guid>https://blog.csdn.net/Geek_/article/details/132986603</guid><author>Geek_</author><pubDate>Mon, 18 Sep 2023 17:03:38 +0800</pubDate><description><![CDATA[在开始之前，我们需要了解函数的定义。函数是一段封装了特定任务或操作的代码块，它接收输入参数，执行一系列操作，然后返回结果。在上述示例中，我们定义了一个名为add的函数，它接收两个参数a和b，执行加法操作，并返回结果。函数调用的执行过程涉及多个步骤，包括函数调用、局部变量和参数的创建、函数体的执行以及返回值的返回。函数栈在这个过程中起到关键作用，用于存储函数的上下文信息，并确保函数调用的正确性和嵌套。理解函数栈对于深入了解编程的执行过程和调试代码非常重要。]]></description><category></category></item><item><title><![CDATA[解决最大子数组和问题的动态规划算法]]></title><link>https://blog.csdn.net/Geek_/article/details/132976000</link><guid>https://blog.csdn.net/Geek_/article/details/132976000</guid><author>Geek_</author><pubDate>Mon, 18 Sep 2023 14:33:59 +0800</pubDate><description><![CDATA[通过使用动态规划算法，我们可以高效地解决最大子数组和问题。该算法的时间复杂度为 O(n)，其中 n 是数组的长度。我们定义了一个辅助数组maxsum来存储以每个元素结尾的子数组的最大和，不断更新result来获取全局最大和。这个算法在处理大规模数据时表现出色，是解决类似问题的一种常用方法。]]></description><category></category></item><item><title><![CDATA[基于联邦学习的推荐系统综述]]></title><link>https://blog.csdn.net/Geek_/article/details/126719009</link><guid>https://blog.csdn.net/Geek_/article/details/126719009</guid><author>Geek_</author><pubDate>Tue, 13 Sep 2022 20:00:55 +0800</pubDate><description><![CDATA[基于联邦学习的推荐系统综述]]></description><category></category></item></channel></rss>