urlnametypePostpasswordSyncToConfluencecategoryLeetcodedateFeb 21, 2023 12:52slug8f01e6190be3iconButtoncatalogsummarytagsAlgorithm前缀和哈希映射coverStatusBusyTimeStatus 1statusPublished题目链接Leetcode_Offer_II_010-和为k的子数组关键词{% label 前缀和 purple%}、{% label 哈希映射 red %}解析关键点:sums[j] - sums[i] == k => sums[j] - k == sums[i]代码Author:CoderWddURL:https://www.wuinsights.top//article/8f01e6190be3Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!Relate PostsLeetcode 2923. 找到冠军 ILeetcode1026. 节点与其祖先之间的最大差值Leetcode 1702. 修改后的最大二进制字符串Leetcode 894. 所有可能的真二叉树Leetcode_64-最小路径和Leetcode_907-子数组的最小值之和Flutter AppRun 简单解析Leetcode_Offer_38-字符串的排列