<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[breeze_blows的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/breeze_blows</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; breeze_blows]]></copyright><item><title><![CDATA[python 定时任务执行]]></title><link>https://blog.csdn.net/breeze_blows/article/details/131271941</link><guid>https://blog.csdn.net/breeze_blows/article/details/131271941</guid><author>breeze_blows</author><pubDate>Sun, 18 Jun 2023 15:19:30 +0800</pubDate><description><![CDATA[在服务中，有时候需要一些任务在后台一直定期的执行，这个时候可以使用python threading中的Timer模块。]]></description><category></category></item><item><title><![CDATA[python请求连接池]]></title><link>https://blog.csdn.net/breeze_blows/article/details/131268419</link><guid>https://blog.csdn.net/breeze_blows/article/details/131268419</guid><author>breeze_blows</author><pubDate>Sun, 18 Jun 2023 09:15:53 +0800</pubDate><description><![CDATA[【代码】python请求连接池。]]></description><category></category></item><item><title><![CDATA[python cherry 用法]]></title><link>https://blog.csdn.net/breeze_blows/article/details/127580475</link><guid>https://blog.csdn.net/breeze_blows/article/details/127580475</guid><author>breeze_blows</author><pubDate>Sun, 30 Oct 2022 15:54:54 +0800</pubDate><description><![CDATA[CheeryPy是一个 Pythonic 的、面向对象的 Web 框架，能够用于接受POST或者GET请求并进行回复，给出简单的应用例子，能够接受POST和GET请求，解析JSON请求格式，配置自定义请求端口]]></description><category></category></item><item><title><![CDATA[ubuntu的命令&操作]]></title><link>https://blog.csdn.net/breeze_blows/article/details/127421400</link><guid>https://blog.csdn.net/breeze_blows/article/details/127421400</guid><author>breeze_blows</author><pubDate>Sun, 30 Oct 2022 15:26:17 +0800</pubDate><description><![CDATA[记录ubuntu系统使用中一些常用的操作]]></description><category></category></item><item><title><![CDATA[ubuntu生成&设置core文件，调试段错误]]></title><link>https://blog.csdn.net/breeze_blows/article/details/127159225</link><guid>https://blog.csdn.net/breeze_blows/article/details/127159225</guid><author>breeze_blows</author><pubDate>Sun, 30 Oct 2022 15:12:39 +0800</pubDate><description><![CDATA[在用ubuntu系统编码c++程序时，经常遇到段错误，以下介绍ubuntu系统下如何生成core文件，设置core文件路径，并进行调试core文件，找到段错误原因。]]></description><category></category></item><item><title><![CDATA[Docker常见操作]]></title><link>https://blog.csdn.net/breeze_blows/article/details/126460082</link><guid>https://blog.csdn.net/breeze_blows/article/details/126460082</guid><author>breeze_blows</author><pubDate>Sat, 03 Sep 2022 10:49:41 +0800</pubDate><description><![CDATA[记录docker使用过程中的常用操作]]></description><category></category></item><item><title><![CDATA[Mining Inter-Video Proposal Relations for Video Object Detection]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108796729</link><guid>https://blog.csdn.net/breeze_blows/article/details/108796729</guid><author>breeze_blows</author><pubDate>Fri, 25 Sep 2020 17:48:29 +0800</pubDate><description><![CDATA[Mining Inter-Video Proposal Relations for Video Object Detection. ECCV2020的一篇视频目标检测文章

论文链接：https://www.ecva.net/papers/eccv_2020/papers_ECCV/papers/123660426.pdf

补充材料：https://www.ecva.net/papers/eccv_2020/papers_ECCV/papers/123660426-supp.pdf

代码：https:/]]></description><category></category></item><item><title><![CDATA[剑指 Offer 39. 数组中出现次数超过一半的数字]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108155043</link><guid>https://blog.csdn.net/breeze_blows/article/details/108155043</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 19:46:17 +0800</pubDate><description><![CDATA[链接：剑指 Offer 39. 数组中出现次数超过一半的数字





用cur记录上一次访问的值，cnt表明当前值出现的次数，如果下一个值和当前值相同那么cnt++；如果不同cnt--，减到0的时候就要更换新的cur值了，因为如果存在超过数组长度一半的值，那么最后cur一定会是该值。可以这样理解，cnt的自加和自减就是在描述一种抵消关系，由于超过一半的出现次数，导致最后的cnt一定会是该值。https://leetcode-cn.com/problems/shu-zu-zhong-chu-xian-ci.]]></description><category></category></item><item><title><![CDATA[剑指 Offer 38. 字符串的排列]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108154991</link><guid>https://blog.csdn.net/breeze_blows/article/details/108154991</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 19:43:15 +0800</pubDate><description><![CDATA[链接：剑指 Offer 38. 字符串的排列



递归生成串的全排列序列，注意在过程中判重就好


class Solution:
    def permutation(self, s: str) -&gt; List[str]:
        res = []
        s = list(s)
        def dfs(s, cur):
            if cur == len(s):
                res.append(''.join(s))
       ]]></description><category></category></item><item><title><![CDATA[剑指 Offer 34. 二叉树中和为某一值的路径]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108154902</link><guid>https://blog.csdn.net/breeze_blows/article/details/108154902</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 19:39:56 +0800</pubDate><description><![CDATA[链接：剑指 Offer 34. 二叉树中和为某一值的路径



递归遍历二叉树的所有可能路径就好了


# Definition for a binary tree node.
# class TreeNode:
#     def __init__(self, x):
#         self.val = x
#         self.left = None
#         self.right = None

class Solution:
    def pathSum(self, ro.]]></description><category></category></item><item><title><![CDATA[剑指 Offer 33. 二叉搜索树的后序遍历序列]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108154786</link><guid>https://blog.csdn.net/breeze_blows/article/details/108154786</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 19:37:18 +0800</pubDate><description><![CDATA[链接：剑指 Offer 33. 二叉搜索树的后序遍历序列



二叉搜索树的特点就是左子树&lt;跟结点&lt;右子树，所有判断是否为后序遍历就是用最后一个结点也就是根节点，然后用序列的前半段去比较根节点找到左子树，如果后半段满足右子树的要求及大于当前根节点，即满足条件，接着递归判断左右子树。


class Solution:
    def verifyPostorder(self, postorder: List[int]) -&gt; bool:
        def dfs(left, righ]]></description><category></category></item><item><title><![CDATA[剑指 Offer 32 - III. 从上到下打印二叉树 III]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108154684</link><guid>https://blog.csdn.net/breeze_blows/article/details/108154684</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 19:31:20 +0800</pubDate><description><![CDATA[链接：剑指 Offer 32 - III. 从上到下打印二叉树 III



层次遍历二叉树的基础上每次用一个数组保存当前层的结点，然后按照奇偶层进行反序就好了


# Definition for a binary tree node.
# class TreeNode:
#     def __init__(self, x):
#         self.val = x
#         self.left = None
#         self.right = None

class So..]]></description><category></category></item><item><title><![CDATA[剑指 Offer 32 - II. 从上到下打印二叉树 II]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108154607</link><guid>https://blog.csdn.net/breeze_blows/article/details/108154607</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 19:28:27 +0800</pubDate><description><![CDATA[链接：剑指 Offer 32 - II. 从上到下打印二叉树 II



层次遍历二叉树的基础上每次用一个数组保存当前层的结点就好了


# Definition for a binary tree node.
# class TreeNode:
#     def __init__(self, x):
#         self.val = x
#         self.left = None
#         self.right = None

class Solution:
    def.]]></description><category></category></item><item><title><![CDATA[剑指 Offer 32 - I. 从上到下打印二叉树]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108148829</link><guid>https://blog.csdn.net/breeze_blows/article/details/108148829</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 15:50:40 +0800</pubDate><description><![CDATA[链接：剑指 Offer 32 - I. 从上到下打印二叉树



层次遍历二叉树，用一个队列模拟就可以了


# Definition for a binary tree node.
# class TreeNode:
#     def __init__(self, x):
#         self.val = x
#         self.left = None
#         self.right = None

class Solution:
    def levelOrder(sel]]></description><category></category></item><item><title><![CDATA[剑指 Offer 31. 栈的压入、弹出序列]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108148667</link><guid>https://blog.csdn.net/breeze_blows/article/details/108148667</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 15:47:48 +0800</pubDate><description><![CDATA[链接：剑指 Offer 31. 栈的压入、弹出序列



用中间的一个数组cur模拟压栈，然后和poped匹配，不能匹配的时候就继续进行压栈操作，如果最后cur为空就证明成功


class Solution:
    def validateStackSequences(self, pushed: List[int], popped: List[int]) -&gt; bool:
        cur = []
        j = 0
        for i in range(len(push.]]></description><category></category></item><item><title><![CDATA[剑指 Offer 30. 包含min函数的栈]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108013187</link><guid>https://blog.csdn.net/breeze_blows/article/details/108013187</guid><author>breeze_blows</author><pubDate>Fri, 21 Aug 2020 15:37:04 +0800</pubDate><description><![CDATA[链接：剑指 Offer 30. 包含min函数的栈



用一个队列保存当前栈的非严格下降序列就好了


class MinStack:

    def __init__(self):
        """
        initialize your data structure here.
        """
        self.A = []
        self.B = [] #维护A中的非严格降序的元素


    def push(self, x: int) -&gt; No.]]></description><category></category></item><item><title><![CDATA[剑指 Offer 29. 顺时针打印矩阵]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108013142</link><guid>https://blog.csdn.net/breeze_blows/article/details/108013142</guid><author>breeze_blows</author><pubDate>Fri, 14 Aug 2020 20:31:51 +0800</pubDate><description><![CDATA[链接：剑指 Offer 29. 顺时针打印矩阵



简单模拟就好了


class Solution:
    def spiralOrder(self, matrix: List[List[int]]) -&gt; List[int]:
        if len(matrix) == 0:
            return []
        l, r, t, b = 0, len(matrix[0])-1, 0, len(matrix)-1
        res = []
        ]]></description><category></category></item><item><title><![CDATA[剑指 Offer 28. 对称的二叉树]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108008054</link><guid>https://blog.csdn.net/breeze_blows/article/details/108008054</guid><author>breeze_blows</author><pubDate>Fri, 14 Aug 2020 16:47:45 +0800</pubDate><description><![CDATA[链接：剑指 Offer 28. 对称的二叉树



分别判断左右子树是否是对称的，判断的时候下判断左右子树的root结点的值是否相等，然后在判断左子树的右子树，右子树的左子树是否相同。


# Definition for a binary tree node.
# class TreeNode:
#     def __init__(self, x):
#         self.val = x
#         self.left = None
#         self.right = None]]></description><category></category></item><item><title><![CDATA[剑指 Offer 27. 二叉树的镜像]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108007782</link><guid>https://blog.csdn.net/breeze_blows/article/details/108007782</guid><author>breeze_blows</author><pubDate>Fri, 14 Aug 2020 16:37:29 +0800</pubDate><description><![CDATA[链接：剑指 Offer 27. 二叉树的镜像



相当于交换左右子树，可以用递归，也可以用栈


# Definition for a binary tree node.
# class TreeNode:
#     def __init__(self, x):
#         self.val = x
#         self.left = None
#         self.right = None

class Solution:
    def mirrorTree(self, ro]]></description><category></category></item><item><title><![CDATA[剑指 Offer 26. 树的子结构]]></title><link>https://blog.csdn.net/breeze_blows/article/details/108007370</link><guid>https://blog.csdn.net/breeze_blows/article/details/108007370</guid><author>breeze_blows</author><pubDate>Fri, 14 Aug 2020 16:32:22 +0800</pubDate><description><![CDATA[链接：剑指 Offer 26. 树的子结构



先判断B是否为A当前的子结构，如果不是，递归判断B是否为A左子树的子结构，是否为A右子树的子结构。注意判断两个结构是否相同的时候应该单独用一个函数实现


# Definition for a binary tree node.
# class TreeNode:
#     def __init__(self, x):
#         self.val = x
#         self.left = None
#         self.rig.]]></description><category></category></item></channel></rss>