Skip to content

Commit 1415a64

Browse files
committed
update: 添加问题“3120.统计特殊字母的数量I”的代码和题解 (#1607) 3120: AC.cpp (#1606) - AC,22.22%,57.14% + (en)
9ca6097
1 parent 7cc18ee commit 1415a64

3,202 files changed

Lines changed: 26772 additions & 24735 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2022/09/27/Other-BandDomain2mail/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ <h1 style="display: none">有了域名想绑定域名邮箱?拥有域名后,
297297

298298
<h1 id="有了域名想绑定域名邮箱?拥有域名后,如何免费绑定邮箱呢?如何使用【昵称-你的-域名】收发邮件"><a href="#有了域名想绑定域名邮箱?拥有域名后,如何免费绑定邮箱呢?如何使用【昵称-你的-域名】收发邮件" class="headerlink" title="有了域名想绑定域名邮箱?拥有域名后,如何免费绑定邮箱呢?如何使用【昵称@你的.域名】收发邮件"></a>有了域名想绑定域名邮箱?拥有域名后,如何免费绑定邮箱呢?如何使用【昵称@你的.域名】收发邮件</h1><p><strong>前提</strong>: 如文章标题,此篇文章的前提是“已经拥有了自己的域名”</p>
299299
<p>有了自己的域名后,采用本篇文章的方式,就可以<strong>免费</strong>地将自己的域名绑定至邮箱。</p>
300-
<p><strong>说人话</strong>就是:假如你拥有域名“<a target="_blank" rel="noopener" href="https://letmefly.xyz/">letmefly.xyz</a>”,那么根据这篇文章,你可以实现“使用<a href="mailto:&#97;&#x64;&#109;&#x69;&#110;&#x40;&#x6c;&#x65;&#116;&#109;&#x65;&#x66;&#x6c;&#121;&#46;&#120;&#121;&#x7a;">admin@letmefly.xyz</a>”收发邮件。</p>
300+
<p><strong>说人话</strong>就是:假如你拥有域名“<a target="_blank" rel="noopener" href="https://letmefly.xyz/">letmefly.xyz</a>”,那么根据这篇文章,你可以实现“使用<a href="mailto:&#x61;&#x64;&#x6d;&#105;&#x6e;&#x40;&#108;&#x65;&#116;&#x6d;&#101;&#102;&#108;&#121;&#46;&#x78;&#x79;&#x7a;">admin@letmefly.xyz</a>”收发邮件。</p>
301301
<h2 id="申请免费邮箱"><a href="#申请免费邮箱" class="headerlink" title="申请免费邮箱"></a>申请免费邮箱</h2><p>本篇教程使用的是阿里云企业邮箱的免费版:<a target="_blank" rel="noopener" href="https://www.iplaysoft.com/go/alimailfree?userCode=s6usmdta">https://www.iplaysoft.com/go/alimailfree</a></p>
302302
<p>因此,如果你的域名正好是<a target="_blank" rel="noopener" href="https://wanwang.aliyun.com/?userCode=s6usmdta">阿里云购买的域名</a>,那么实现起来就会更容易一些(其他域名也能实现)</p>
303303
<p>点击进入<a target="_blank" rel="noopener" href="https://www.iplaysoft.com/go/alimailfree?userCode=s6usmdta">https://www.iplaysoft.com/go/alimailfree</a>,可以发现产品是免费的。</p>
@@ -341,7 +341,7 @@ <h2 id="申请免费邮箱"><a href="#申请免费邮箱" class="headerlink" tit
341341
<p><img src="https://cors.tisfy.eu.org/https://img-blog.csdnimg.cn/5e238ce294b54002b371f5b81ea9ba8f.png" srcset="/img/loading.gif" lazyload alt="重置管理账号密码"></p>
342342
<p>然后就可以通过<a target="_blank" rel="noopener" href="https://qiye.aliyun.com/">https://qiye.aliyun.com</a>登陆后台管理自己的企业邮箱了。</p>
343343
<p><img src="https://cors.tisfy.eu.org/https://img-blog.csdnimg.cn/4632b98d2c7244a08a48f4abe25b66e5.png" srcset="/img/loading.gif" lazyload alt="登录管理后台"></p>
344-
<p>你可以在这里新建邮箱账号(比如<a href="mailto:&#97;&#100;&#109;&#105;&#x6e;&#64;&#108;&#x65;&#x74;&#109;&#x65;&#102;&#108;&#x79;&#x2e;&#120;&#x79;&#122;">admin@letmefly.xyz</a></p>
344+
<p>你可以在这里新建邮箱账号(比如<a href="mailto:&#x61;&#x64;&#x6d;&#x69;&#110;&#x40;&#108;&#x65;&#116;&#109;&#101;&#102;&#x6c;&#x79;&#46;&#120;&#121;&#122;">admin@letmefly.xyz</a></p>
345345
<p><img src="https://cors.tisfy.eu.org/https://img-blog.csdnimg.cn/8dfadb3158e84e89b7f612c26861b500.png" srcset="/img/loading.gif" lazyload alt="创建邮箱地址"></p>
346346
<p>你可以直接使用刚刚创建好的邮箱地址再次登录,并收发邮件。(需要先退出登录管理号)</p>
347347
<p><img src="https://cors.tisfy.eu.org/https://img-blog.csdnimg.cn/7fd7e9d40e5b4d018d1d68dc2046253e.png" srcset="/img/loading.gif" lazyload alt="退出管理号"></p>

2026/01/17/LeetCode 2975.移除栅栏得到的正方形田地的最大面积/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<meta property="og:locale" content="zh_CN">
2828
<meta property="og:image" content="https://assets.leetcode.com/uploads/2023/11/05/screenshot-from-2023-11-05-22-40-25.png">
2929
<meta property="article:published_time" content="2026-01-17T13:10:06.000Z">
30-
<meta property="article:modified_time" content="2026-05-21T15:09:13.812Z">
30+
<meta property="article:modified_time" content="2026-05-26T16:19:31.740Z">
3131
<meta property="article:author" content="&lt;a href&#x3D;&quot;https:&#x2F;&#x2F;letmefly.xyz&quot;&gt;Tisfy&lt;&#x2F;a&gt;">
3232
<meta property="article:tag" content="LeetCode">
3333
<meta property="article:tag" content="set">

2026/01/31/LeetCode 0744.寻找比目标字母大的最小字母/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<meta property="og:description" content="【LetMeFly】744.寻找比目标字母大的最小字母:遍历或二分力扣题目链接:https:&#x2F;&#x2F;leetcode.cn&#x2F;problems&#x2F;find-smallest-letter-greater-than-target&#x2F; 给你一个字符数组 letters,该数组按非递减顺序排序,以及一个字符 target。letters&nbsp;里至少有两个不同的字符。 返回&nbsp;letters&amp;nbs">
2727
<meta property="og:locale" content="zh_CN">
2828
<meta property="article:published_time" content="2026-01-31T06:05:22.000Z">
29-
<meta property="article:modified_time" content="2026-05-21T15:09:13.787Z">
29+
<meta property="article:modified_time" content="2026-05-26T16:19:31.720Z">
3030
<meta property="article:author" content="&lt;a href&#x3D;&quot;https:&#x2F;&#x2F;letmefly.xyz&quot;&gt;Tisfy&lt;&#x2F;a&gt;">
3131
<meta property="article:tag" content="LeetCode">
3232
<meta property="article:tag" content="二分">

2026/02/03/LeetCode 3013.将数组分成最小总代价的子数组II/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<meta property="og:description" content="【LetMeFly】3013.将数组分成最小总代价的子数组 II:两个堆维护k-1小 + 滑动窗口力扣题目链接:https:&#x2F;&#x2F;leetcode.cn&#x2F;problems&#x2F;divide-an-array-into-subarrays-with-minimum-cost-ii&#x2F; 给你一个下标从 0&nbsp;开始长度为 n&nbsp;的整数数组&nbsp;nums&nbsp;和两个 正&nbsp;整数">
2727
<meta property="og:locale" content="zh_CN">
2828
<meta property="article:published_time" content="2026-02-03T14:12:40.000Z">
29-
<meta property="article:modified_time" content="2026-05-21T15:09:13.813Z">
29+
<meta property="article:modified_time" content="2026-05-26T16:19:31.741Z">
3030
<meta property="article:author" content="&lt;a href&#x3D;&quot;https:&#x2F;&#x2F;letmefly.xyz&quot;&gt;Tisfy&lt;&#x2F;a&gt;">
3131
<meta property="article:tag" content="LeetCode">
3232
<meta property="article:tag" content="set">

2026/02/04/LeetCode 3637.三段式数组I/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<meta property="og:description" content="【LetMeFly】3637.三段式数组 I:一次遍历(三种实现)力扣题目链接:https:&#x2F;&#x2F;leetcode.cn&#x2F;problems&#x2F;trionic-array-i&#x2F; 给你一个长度为 n 的整数数组 nums。 如果存在索引 0 &lt; p &lt; q &lt; n − 1,使得数组满足以下条件,则称其为 三段式数组(trionic): nums[0...p]&nbsp;严格 递增">
2727
<meta property="og:locale" content="zh_CN">
2828
<meta property="article:published_time" content="2026-02-04T14:06:33.000Z">
29-
<meta property="article:modified_time" content="2026-05-21T15:09:13.820Z">
29+
<meta property="article:modified_time" content="2026-05-26T16:19:31.746Z">
3030
<meta property="article:author" content="&lt;a href&#x3D;&quot;https:&#x2F;&#x2F;letmefly.xyz&quot;&gt;Tisfy&lt;&#x2F;a&gt;">
3131
<meta property="article:tag" content="LeetCode">
3232
<meta property="article:tag" content="数组">

2026/03/15/Other-Linux-SwapMemSetting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<meta property="og:description" content="AI创作声明:以下内容由大模型总结自我与大模型的对话。 Linux Swap 文件完全指南:从创建到调优 - Written By AI(Claude-Opus4.6) 作为一名后端开发工程师,你迟早会遇到服务器内存不够用的窘境。本文将带你深入理解 Linux Swap 的工作原理,并手把手教你如何正确地创建、启用和调优 Swap 文件。 目录 什么是 Swap? Swap 分区 vs S">
2727
<meta property="og:locale" content="zh_CN">
2828
<meta property="article:published_time" content="2026-03-15T02:04:45.000Z">
29-
<meta property="article:modified_time" content="2026-05-21T15:09:13.827Z">
29+
<meta property="article:modified_time" content="2026-05-26T16:19:31.752Z">
3030
<meta property="article:author" content="&lt;a href&#x3D;&quot;https:&#x2F;&#x2F;letmefly.xyz&quot;&gt;Tisfy&lt;&#x2F;a&gt;">
3131
<meta property="article:tag" content="Linux">
3232
<meta property="article:tag" content="其他">

2026/05/15/LeetCode 0153.寻找旋转排序数组中的最小值/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<meta property="og:description" content="【LetMeFly】153.寻找旋转排序数组中的最小值:二分查找(左闭右开写法)力扣题目链接:https:&#x2F;&#x2F;leetcode.cn&#x2F;problems&#x2F;find-minimum-in-rotated-sorted-array&#x2F; 已知一个长度为 n 的数组,预先按照升序排列,经由 1 到 n 次 旋转 后,得到输入数组。例如,原数组 nums &#x3D; [0,1,2,4,5,6,7] 在变化后可能得到:">
2727
<meta property="og:locale" content="zh_CN">
2828
<meta property="article:published_time" content="2026-05-15T14:02:06.000Z">
29-
<meta property="article:modified_time" content="2026-05-21T15:09:13.780Z">
29+
<meta property="article:modified_time" content="2026-05-26T16:19:31.715Z">
3030
<meta property="article:author" content="&lt;a href&#x3D;&quot;https:&#x2F;&#x2F;letmefly.xyz&quot;&gt;Tisfy&lt;&#x2F;a&gt;">
3131
<meta property="article:tag" content="LeetCode">
3232
<meta property="article:tag" content="中等">

2026/05/16/LeetCode 0154.寻找旋转排序数组中的最小值II/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<meta property="og:description" content="【LetMeFly】154.寻找旋转排序数组中的最小值 II:比I多个if(二分查找?)力扣题目链接:https:&#x2F;&#x2F;leetcode.cn&#x2F;problems&#x2F;find-minimum-in-rotated-sorted-array-ii&#x2F; 已知一个长度为 n 的数组,预先按照升序排列,经由 1 到 n 次 旋转 后,得到输入数组。例如,原数组 nums &#x3D; [0,1,4,4,5,6,7] 在变化">
2727
<meta property="og:locale" content="zh_CN">
2828
<meta property="article:published_time" content="2026-05-16T12:46:47.000Z">
29-
<meta property="article:modified_time" content="2026-05-21T15:09:13.780Z">
29+
<meta property="article:modified_time" content="2026-05-26T16:19:31.715Z">
3030
<meta property="article:author" content="&lt;a href&#x3D;&quot;https:&#x2F;&#x2F;letmefly.xyz&quot;&gt;Tisfy&lt;&#x2F;a&gt;">
3131
<meta property="article:tag" content="LeetCode">
3232
<meta property="article:tag" content="二分查找">

2026/05/16/Other-VsCode-CodeServerDocker-StopDownloading15MgdbDebuginfod-gdb_debuginfod_docker_vscode_cpp_debugging_postmortem_2026/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<meta property="og:description" content="VsCode Docker(Code Server)每次重启docker首次dbg C++都要花费很久去下载一个15.5M的debuginfo的解决方案">
2727
<meta property="og:locale" content="zh_CN">
2828
<meta property="article:published_time" content="2026-05-16T12:58:46.000Z">
29-
<meta property="article:modified_time" content="2026-05-21T15:09:13.830Z">
29+
<meta property="article:modified_time" content="2026-05-26T16:19:31.754Z">
3030
<meta property="article:author" content="&lt;a href&#x3D;&quot;https:&#x2F;&#x2F;letmefly.xyz&quot;&gt;Tisfy&lt;&#x2F;a&gt;">
3131
<meta property="article:tag" content="Docker">
3232
<meta property="article:tag" content="VsCode">

2026/05/21/LeetCode 3043.最长公共前缀的长度/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,9 @@ <h3 id="AC代码"><a href="#AC代码" class="headerlink" title="AC代码"></a>AC
457457
<article class="post-prev col-6">
458458

459459

460-
<a href="/9999/12/31/README/" title="README">
460+
<a href="/2026/05/26/LeetCode%203120.%E7%BB%9F%E8%AE%A1%E7%89%B9%E6%AE%8A%E5%AD%97%E6%AF%8D%E7%9A%84%E6%95%B0%E9%87%8FI/" title="3120.统计特殊字母的数量 I:(手写)哈希表">
461461
<i class="iconfont icon-arrowleft"></i>
462-
<span class="hidden-mobile">README</span>
462+
<span class="hidden-mobile">3120.统计特殊字母的数量 I:(手写)哈希表</span>
463463
<span class="visible-mobile">上一篇</span>
464464
</a>
465465

0 commit comments

Comments
 (0)