An open API service indexing awesome lists of open source software.

https://github.com/moeyang/go-leetcode

leetcode题解,不定时更新。
https://github.com/moeyang/go-leetcode

algorithm go golang interview-questions leetcode

Last synced: 17 days ago
JSON representation

leetcode题解,不定时更新。

Awesome Lists containing this project

README

          

# go-leetcode

刷题集合,不定期更新

------------
### array
- [15.三数之和](https://github.com/MoeYang/go-leetcode/blob/main/array/15.三数之和.md)
- [31.下一个排列](https://github.com/MoeYang/go-leetcode/blob/main/array/31.下一个排列.md)
- [39.组合总和](https://github.com/MoeYang/go-leetcode/blob/main/array/39.组合总和.md)
- [56.合并区间](https://github.com/MoeYang/go-leetcode/blob/main/array/56.合并区间.md)
- [80.删除有序数组中的重复项II](https://github.com/MoeYang/go-leetcode/blob/main/array/80.删除有序数组中的重复项II.md)
- [128.最长连续序列](https://github.com/MoeYang/go-leetcode/blob/main/array/128.最长连续序列.md)
- [453.最小操作次数使数组元素相等](https://github.com/MoeYang/go-leetcode/blob/main/array/453.最小操作次数使数组元素相等.md)
- [560.和为K的子数组](https://github.com/MoeYang/go-leetcode/blob/main/array/560.和为K的子数组.md)
- [581.最短无序连续子数组](https://github.com/MoeYang/go-leetcode/blob/main/array/581.最短无序连续子数组.md)
- [930.和相同的二元子数组](https://github.com/MoeYang/go-leetcode/blob/main/array/930.和相同的二元子数组.md)
- [1695.删除子数组的最大得分](https://github.com/MoeYang/go-leetcode/blob/main/array/1695.删除子数组的最大得分.md)
- [1711.大餐计数](https://github.com/MoeYang/go-leetcode/blob/main/array/1711.大餐计数.md)
- [1726.同积元组](https://github.com/MoeYang/go-leetcode/blob/main/array/1726.同积元组.md)
- [1738.找出第K大的异或坐标值](https://github.com/MoeYang/go-leetcode/blob/main/array/1738.找出第K大的异或坐标值.md)
- [1817.查找用户活跃分钟数](https://github.com/MoeYang/go-leetcode/blob/main/array/1817.查找用户活跃分钟数.md)
- [1823.找出游戏的获胜者](https://github.com/MoeYang/go-leetcode/blob/main/array/1823.找出游戏的获胜者.md)
- [1906.查询差绝对值的最小值](https://github.com/MoeYang/go-leetcode/blob/main/array/1906.查询差绝对值的最小值.md)
- [1943.描述绘画结果](https://github.com/MoeYang/go-leetcode/blob/main/array/1943.描述绘画结果.md)
- [1968.构造元素不等于两相邻元素平均值的数组](https://github.com/MoeYang/go-leetcode/blob/main/array/1968.构造元素不等于两相邻元素平均值的数组.md)
- [面试题10.09.排序矩阵查找](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题10.09.排序矩阵查找.md)
- [面试题10.11.峰与谷](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题10.11.峰与谷.md)
- [面试题16.06.最小差](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题16.06.最小差.md)
- [面试题16.10.生存人数](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题16.10.生存人数.md)
- [面试题16.11.跳水板](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题16.11.跳水板.md)
- [面试题16.16.部分排序](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题16.16.部分排序.md)
- [面试题16.17.连续数列](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题16.17.连续数列.md)
- [面试题16.21.交换和](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题16.21.交换和.md)
- [面试题16.24.数对和](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题16.24.数对和.md)
- [面试题17.05.字母与数字](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题17.05.字母与数字.md)
- [面试题17.10.主要元素](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题17.10.主要元素.md)
- [面试题17.11.单词距离](https://github.com/MoeYang/go-leetcode/blob/main/array/面试题17.11.单词距离.md)

### bfs
- [127.单词接龙](https://github.com/MoeYang/go-leetcode/blob/main/bfs/127.单词接龙.md)
- [207.课程表](https://github.com/MoeYang/go-leetcode/blob/main/bfs/207.课程表.md)
- [542.01矩阵](https://github.com/MoeYang/go-leetcode/blob/main/bfs/542.01矩阵.md)
- [752.打开转盘锁](https://github.com/MoeYang/go-leetcode/blob/main/bfs/752.打开转盘锁.md)
- [1345.跳跃游戏IV](https://github.com/MoeYang/go-leetcode/blob/main/bfs/1345.跳跃游戏IV.md)
- [1765.地图中的最高点](https://github.com/MoeYang/go-leetcode/blob/main/bfs/1765.地图中的最高点.md)
- [1871.跳跃游戏VII](https://github.com/MoeYang/go-leetcode/blob/main/bfs/1871.跳跃游戏VII.md)
- [1926.迷宫中离入口最近的出口](https://github.com/MoeYang/go-leetcode/blob/main/bfs/1926.迷宫中离入口最近的出口.md)
- [1928.规定时间内到达终点的最小花费](https://github.com/MoeYang/go-leetcode/blob/main/bfs/1928.规定时间内到达终点的最小花费.md)
- [2059.转化数字的最小运算数](https://github.com/MoeYang/go-leetcode/blob/main/bfs/2059.转化数字的最小运算数.md)
- [面试题04.01.节点间通路](https://github.com/MoeYang/go-leetcode/blob/main/bfs/面试题04.01.节点间通路.md)

### binary
- [33.搜索旋转排序数组](https://github.com/MoeYang/go-leetcode/blob/main/binary/33.搜索旋转排序数组.md)
- [153.寻找旋转排序数组中的最小值](https://github.com/MoeYang/go-leetcode/blob/main/binary/153.寻找旋转排序数组中的最小值.md)
- [475.供暖器](https://github.com/MoeYang/go-leetcode/blob/main/binary/475.供暖器.md)
- [1011.在D天内送达包裹的能力](https://github.com/MoeYang/go-leetcode/blob/main/binary/1011.在D天内送达包裹的能力.md)
- [1044.最长重复子串](https://github.com/MoeYang/go-leetcode/blob/main/binary/1044.最长重复子串.md)
- [1760.袋子里最少数目的球](https://github.com/MoeYang/go-leetcode/blob/main/binary/1760.袋子里最少数目的球.md)
- [1818.绝对差值和](https://github.com/MoeYang/go-leetcode/blob/main/binary/1818.绝对差值和.md)
- [1898.可移除字符的最大数目](https://github.com/MoeYang/go-leetcode/blob/main/binary/1898.可移除字符的最大数目.md)
- [2055.蜡烛之间的盘子](https://github.com/MoeYang/go-leetcode/blob/main/binary/2055.蜡烛之间的盘子.md)
- [2080.区间内查询数字的频率](https://github.com/MoeYang/go-leetcode/blob/main/binary/2080.区间内查询数字的频率.md)
- [剑指OfferII072.求平方根](https://github.com/MoeYang/go-leetcode/blob/main/binary/剑指OfferII072.求平方根.md)
- [剑指OfferII073.狒狒吃香蕉](https://github.com/MoeYang/go-leetcode/blob/main/binary/剑指OfferII073.狒狒吃香蕉.md)
- [面试题10.03.搜索旋转数组](https://github.com/MoeYang/go-leetcode/blob/main/binary/面试题10.03.搜索旋转数组.md)

### design
- [355.设计推特](https://github.com/MoeYang/go-leetcode/blob/main/design/355.设计推特.md)
- [380.O(1)时间插入、删除和获取随机元素](https://github.com/MoeYang/go-leetcode/blob/main/design/380.O(1)时间插入、删除和获取随机元素.md)
- [1865.找出和为指定值的下标对](https://github.com/MoeYang/go-leetcode/blob/main/design/1865.找出和为指定值的下标对.md)
- [面试题16.25.LRU缓存](https://github.com/MoeYang/go-leetcode/blob/main/design/面试题16.25.LRU缓存.md)

### dfs
- [39.组合总和](https://github.com/MoeYang/go-leetcode/blob/main/dfs/39.组合总和.md)
- [40.组合总和II](https://github.com/MoeYang/go-leetcode/blob/main/dfs/40.组合总和II.md)
- [46.全排列](https://github.com/MoeYang/go-leetcode/blob/main/dfs/46.全排列.md)
- [78.子集](https://github.com/MoeYang/go-leetcode/blob/main/dfs/78.子集.md)
- [79.单词搜索](https://github.com/MoeYang/go-leetcode/blob/main/dfs/79.单词搜索.md)
- [90.子集II](https://github.com/MoeYang/go-leetcode/blob/main/dfs/90.子集II.md)
- [301.删除无效的括号](https://github.com/MoeYang/go-leetcode/blob/main/dfs/301.删除无效的括号.md)
- [375.猜数字大小II](https://github.com/MoeYang/go-leetcode/blob/main/dfs/375.猜数字大小II.md)
- [552.学生出勤记录II](https://github.com/MoeYang/go-leetcode/blob/main/dfs/552.学生出勤记录II.md)
- [797.所有可能的路径](https://github.com/MoeYang/go-leetcode/blob/main/dfs/797.所有可能的路径.md)
- [1718.构建字典序最大的可行序列](https://github.com/MoeYang/go-leetcode/blob/main/dfs/1718.构建字典序最大的可行序列.md)
- [1723.完成所有工作的最短时间](https://github.com/MoeYang/go-leetcode/blob/main/dfs/1723.完成所有工作的最短时间.md)
- [1774.最接近目标价格的甜点成本](https://github.com/MoeYang/go-leetcode/blob/main/dfs/1774.最接近目标价格的甜点成本.md)
- [1963.使字符串平衡的最小交换次数](https://github.com/MoeYang/go-leetcode/blob/main/dfs/1963.使字符串平衡的最小交换次数.md)
- [1981.最小化目标值与所选元素的差](https://github.com/MoeYang/go-leetcode/blob/main/dfs/1981.最小化目标值与所选元素的差.md)
- [2002.两个回文子序列长度的最大乘积](https://github.com/MoeYang/go-leetcode/blob/main/dfs/2002.两个回文子序列长度的最大乘积.md)
- [2049.统计最高分的节点数目](https://github.com/MoeYang/go-leetcode/blob/main/dfs/2049.统计最高分的节点数目.md)
- [5747.将字符串拆分为递减的连续值](https://github.com/MoeYang/go-leetcode/blob/main/dfs/5747.将字符串拆分为递减的连续值.md)
- [剑指Offer38.字符串的排列](https://github.com/MoeYang/go-leetcode/blob/main/dfs/剑指Offer38.字符串的排列.md)
- [面试题08.04.幂集](https://github.com/MoeYang/go-leetcode/blob/main/dfs/面试题08.04.幂集.md)
- [面试题08.08.有重复字符串的排列组合](https://github.com/MoeYang/go-leetcode/blob/main/dfs/面试题08.08.有重复字符串的排列组合.md)
- [面试题08.09.括号](https://github.com/MoeYang/go-leetcode/blob/main/dfs/面试题08.09.括号.md)
- [面试题17.15.最长单词](https://github.com/MoeYang/go-leetcode/blob/main/dfs/面试题17.15.最长单词.md)
- [面试题17.22.单词转换](https://github.com/MoeYang/go-leetcode/blob/main/dfs/面试题17.22.单词转换.md)

### dp
- [5.最长回文子串](https://github.com/MoeYang/go-leetcode/blob/main/dp/5.最长回文子串.md)
- [62.不同路径](https://github.com/MoeYang/go-leetcode/blob/main/dp/62.不同路径.md)
- [64.最小路径和](https://github.com/MoeYang/go-leetcode/blob/main/dp/64.最小路径和.md)
- [72.编辑距离](https://github.com/MoeYang/go-leetcode/blob/main/dp/72.编辑距离.md)
- [91.解码方法](https://github.com/MoeYang/go-leetcode/blob/main/dp/91.解码方法.md)
- [115.不同的子序列](https://github.com/MoeYang/go-leetcode/blob/main/dp/115.不同的子序列.md)
- [121.买卖股票的最佳时机](https://github.com/MoeYang/go-leetcode/blob/main/dp/121.买卖股票的最佳时机.md)
- [132.分割回文串II](https://github.com/MoeYang/go-leetcode/blob/main/dp/132.分割回文串II.md)
- [139.单词拆分](https://github.com/MoeYang/go-leetcode/blob/main/dp/139.单词拆分.md)
- [152.乘积最大子数组](https://github.com/MoeYang/go-leetcode/blob/main/dp/152.乘积最大子数组.md)
- [213.打家劫舍II](https://github.com/MoeYang/go-leetcode/blob/main/dp/213.打家劫舍II.md)
- [221.最大正方形](https://github.com/MoeYang/go-leetcode/blob/main/dp/221.最大正方形.md)
- [300.最长递增子序列](https://github.com/MoeYang/go-leetcode/blob/main/dp/300.最长递增子序列.md)
- [309.最佳买卖股票时机含冷冻期](https://github.com/MoeYang/go-leetcode/blob/main/dp/309.最佳买卖股票时机含冷冻期.md)
- [322.零钱兑换](https://github.com/MoeYang/go-leetcode/blob/main/dp/322.零钱兑换.md)
- [337.打家劫舍 III](https://github.com/MoeYang/go-leetcode/blob/main/dp/337.打家劫舍III.md)
- [354.俄罗斯套娃信封问题](https://github.com/MoeYang/go-leetcode/blob/main/dp/354.俄罗斯套娃信封问题.md)
- [368.最大整除子集](https://github.com/MoeYang/go-leetcode/blob/main/dp/368.最大整除子集.md)
- [377.组合总和Ⅳ](https://github.com/MoeYang/go-leetcode/blob/main/dp/377.组合总和Ⅳ.md)
- [403.青蛙过河](https://github.com/MoeYang/go-leetcode/blob/main/dp/403.青蛙过河.md)
- [416.分割等和子集](https://github.com/MoeYang/go-leetcode/blob/main/dp/416.分割等和子集.md)
- [516.最长回文子序列](https://github.com/MoeYang/go-leetcode/blob/main/dp/516.最长回文子序列.md)
- [518.零钱兑换II](https://github.com/MoeYang/go-leetcode/blob/main/dp/518.零钱兑换II.md)
- [647.回文子串](https://github.com/MoeYang/go-leetcode/blob/main/dp/647.回文子串.md)
- [718.最长重复子数组](https://github.com/MoeYang/go-leetcode/blob/main/dp/718.最长重复子数组.md)
- [873.最长的斐波那契子序列的长度](https://github.com/MoeYang/go-leetcode/blob/main/dp/873.最长的斐波那契子序列的长度.md)
- [877.石子游戏](https://github.com/MoeYang/go-leetcode/blob/main/dp/877.石子游戏.md)
- [1035.不相交的线](https://github.com/MoeYang/go-leetcode/blob/main/dp/1035.不相交的线.md)
- [1269.停在原地的方案数](https://github.com/MoeYang/go-leetcode/blob/main/dp/1269.停在原地的方案数.md)
- [1690.石子游戏VII](https://github.com/MoeYang/go-leetcode/blob/main/dp/1690.石子游戏VII.md)
- [1691.堆叠长方体的最大高度](https://github.com/MoeYang/go-leetcode/blob/main/dp/1691.堆叠长方体的最大高度.md)
- [1696.跳跃游戏VI](https://github.com/MoeYang/go-leetcode/blob/main/dp/1696.跳跃游戏VI.md)
- [1751.最多可以参加的会议数目II](https://github.com/MoeYang/go-leetcode/blob/main/dp/1751.最多可以参加的会议数目II.md)
- [1770.执行乘法运算的最大分数](https://github.com/MoeYang/go-leetcode/blob/main/dp/1770.执行乘法运算的最大分数.md)
- [1771.由子序列构造的最长回文串的长度](https://github.com/MoeYang/go-leetcode/blob/main/dp/1771.由子序列构造的最长回文串的长度.md)
- [1857.有向图中最大颜色值](https://github.com/MoeYang/go-leetcode/blob/main/dp/1857.有向图中最大颜色值.md)
- [1866.恰有K根木棍可以看到的排列数目](https://github.com/MoeYang/go-leetcode/blob/main/dp/1866.恰有K根木棍可以看到的排列数目.md)
- [1872.石子游戏VIII](https://github.com/MoeYang/go-leetcode/blob/main/dp/1872.石子游戏VIII.md)
- [1911.最大子序列交替和](https://github.com/MoeYang/go-leetcode/blob/main/dp/1911.最大子序列交替和.md)
- [1937.扣分后的最大得分](https://github.com/MoeYang/go-leetcode/blob/main/dp/1937.扣分后的最大得分.md)
- [2008.出租车的最大盈利](https://github.com/MoeYang/go-leetcode/blob/main/dp/2008.出租车的最大盈利.md)
- [面试题08.02.迷路的机器人](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题08.02.迷路的机器人.md)
- [面试题08.11.硬币](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题08.11.硬币.md)
- [面试题08.13.堆箱子](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题08.13.堆箱子.md)
- [面试题08.14.布尔运算](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题08.14.布尔运算.md)
- [面试题17.08.马戏团人塔](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题17.08.马戏团人塔.md)
- [面试题17.09.第k个数](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题17.09.第k个数.md)
- [面试题17.13.恢复空格](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题17.13.恢复空格.md)
- [面试题17.16.按摩师](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题17.16.按摩师.md)
- [面试题17.23.最大黑方阵](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题17.23.最大黑方阵.md)
- [面试题17.24.最大子矩阵](https://github.com/MoeYang/go-leetcode/blob/main/dp/面试题17.24.最大子矩阵.md)

### divide-and-conquer
- [312.戳气球](https://github.com/MoeYang/go-leetcode/blob/main/divide-and-conquer/312.戳气球.md)

### graph
- [743.网络延迟时间](https://github.com/MoeYang/go-leetcode/blob/main/graph/743.网络延迟时间.md)
- [787.K站中转内最便宜的航班](https://github.com/MoeYang/go-leetcode/blob/main/graph/787.K站中转内最便宜的航班.md)
- [802.找到最终的安全状态](https://github.com/MoeYang/go-leetcode/blob/main/graph/802.找到最终的安全状态.md)

### greedy
- [11.盛最多水的容器](https://github.com/MoeYang/go-leetcode/blob/main/greedy/11.盛最多水的容器.md)
- [334.递增的三元子序列](https://github.com/MoeYang/go-leetcode/blob/main/greedy/334.递增的三元子序列.md)
- [406.根据身高重建队列](https://github.com/MoeYang/go-leetcode/blob/main/greedy/406.根据身高重建队列.md)
- [621.任务调度器](https://github.com/MoeYang/go-leetcode/blob/main/greedy/621.任务调度器.md)
- [630.课程表III](https://github.com/MoeYang/go-leetcode/blob/main/greedy/630.课程表III.md)
- [1685.有序数组中差绝对值之和](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1685.有序数组中差绝对值之和.md)
- [1686.石子游戏VI](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1686.石子游戏VI.md)
- [1689.十-二进制数的最少数目](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1689.十-二进制数的最少数目.md)
- [1727.重新排列后的最大子矩阵](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1727.重新排列后的最大子矩阵.md)
- [1744.你能在你最喜欢的那天吃到你最喜欢的糖果吗?](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1744.你能在你最喜欢的那天吃到你最喜欢的糖果吗?.md)
- [1749.任意子数组和的绝对值的最大值](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1749.任意子数组和的绝对值的最大值.md)
- [1754.构造字典序最大的合并字符串](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1754.构造字典序最大的合并字符串.md)
- [1833.雪糕的最大数量](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1833.雪糕的最大数量.md)
- [1840.最高建筑高度](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1840.最高建筑高度.md)
- [1855.下标对中的最大距离](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1855.下标对中的最大距离.md)
- [1877.数组中最大数对和的最小值](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1877.数组中最大数对和的最小值.md)
- [1946.子字符串突变后可能得到的最大整数](https://github.com/MoeYang/go-leetcode/blob/main/greedy/1946.子字符串突变后可能得到的最大整数.md)
- [2017.网格游戏](https://github.com/MoeYang/go-leetcode/blob/main/greedy/2017.网格游戏.md)
- [2029.石子游戏IX](https://github.com/MoeYang/go-leetcode/blob/main/greedy/2029.石子游戏IX.md)
- [2086.从房屋收集雨水需要的最少水桶数](https://github.com/MoeYang/go-leetcode/blob/main/greedy/2086.从房屋收集雨水需要的最少水桶数.md)
- [2116.判断一个括号字符串是否有效](https://github.com/MoeYang/go-leetcode/blob/main/greedy/2116.判断一个括号字符串是否有效.md)
- [5760.构成交替字符串需要的最小交换次数](https://github.com/MoeYang/go-leetcode/blob/main/greedy/5760.构成交替字符串需要的最小交换次数.md)

### hash
- [187.重复的DNA序列](https://github.com/MoeYang/go-leetcode/blob/main/hash/187.重复的DNA序列.md)
- [554.砖墙](https://github.com/MoeYang/go-leetcode/blob/main/hash/554.砖墙.md)
- [1218.最长定差子序列](https://github.com/MoeYang/go-leetcode/blob/main/hash/1218.最长定差子序列.md)
- [1743.从相邻元素对还原数组](https://github.com/MoeYang/go-leetcode/blob/main/hash/1743.从相邻元素对还原数组.md)
- [1930.长度为3的不同回文子序列](https://github.com/MoeYang/go-leetcode/blob/main/hash/1930.长度为3的不同回文子序列.md)
- [面试题17.26.稀疏相似度](https://github.com/MoeYang/go-leetcode/blob/main/hash/面试题17.26.稀疏相似度.md)

### heap
- [218.天际线问题](https://github.com/MoeYang/go-leetcode/blob/main/heap/218.天际线问题.md)
- [313.超级丑数](https://github.com/MoeYang/go-leetcode/blob/main/heap/313.超级丑数.md)
- [373.查找和最小的K对数字](https://github.com/MoeYang/go-leetcode/blob/main/heap/373.查找和最小的K对数字.md)
- [502.IPO](https://github.com/MoeYang/go-leetcode/blob/main/heap/502.IPO.md)
- [1753.移除石子的最大得分](https://github.com/MoeYang/go-leetcode/blob/main/heap/1753.移除石子的最大得分.md)
- [1801.积压订单中的订单总数](https://github.com/MoeYang/go-leetcode/blob/main/heap/1801.积压订单中的订单总数.md)
- [1834.单线程CPU](https://github.com/MoeYang/go-leetcode/blob/main/heap/1834.单线程CPU.md)
- [1882.使用服务器处理任务](https://github.com/MoeYang/go-leetcode/blob/main/heap/1882.使用服务器处理任务.md)
- [1942.最小未被占据椅子的编号](https://github.com/MoeYang/go-leetcode/blob/main/heap/1942.最小未被占据椅子的编号.md)
- [2034.股票价格波动](https://github.com/MoeYang/go-leetcode/blob/main/heap/2034.股票价格波动.md)
- [2064.分配给商店的最多商品的最小值](https://github.com/MoeYang/go-leetcode/blob/main/heap/2064.分配给商店的最多商品的最小值.md)
- [5748.包含每个查询的最小区间](https://github.com/MoeYang/go-leetcode/blob/main/heap/5748.包含每个查询的最小区间.md)
- [LCP30.魔塔游戏](https://github.com/MoeYang/go-leetcode/blob/main/heap/LCP30.魔塔游戏.md)
- [面试题17.20.连续中值](https://github.com/MoeYang/go-leetcode/blob/main/heap/面试题17.20.连续中值.md)

### list
- [2.两数相加](https://github.com/MoeYang/go-leetcode/blob/main/list/2.两数相加.md)
- [19.删除链表的倒数第N个结点](https://github.com/MoeYang/go-leetcode/blob/main/list/19.删除链表的倒数第N个结点.md)
- [23.合并K个升序链表](https://github.com/MoeYang/go-leetcode/blob/main/list/23.合并K个升序链表.md)
- [148.排序链表](https://github.com/MoeYang/go-leetcode/blob/main/list/148.排序链表.md)
- [430.扁平化多级双向链表](https://github.com/MoeYang/go-leetcode/blob/main/list/430.扁平化多级双向链表.md)
- [面试题02.06.回文链表](https://github.com/MoeYang/go-leetcode/blob/main/list/面试题02.06.回文链表.md)
- [面试题02.07.链表相交](https://github.com/MoeYang/go-leetcode/blob/main/list/面试题02.07.链表相交.md)
- [面试题02.08.环路检测](https://github.com/MoeYang/go-leetcode/blob/main/list/面试题02.08.环路检测.md)

### math
- [96.不同的二叉搜索树](https://github.com/MoeYang/go-leetcode/blob/main/math/96.不同的二叉搜索树.md)
- [137.只出现一次的数字II](https://github.com/MoeYang/go-leetcode/blob/main/math/137.只出现一次的数字II.md)
- [149.直线上最多的点数](https://github.com/MoeYang/go-leetcode/blob/main/math/149.直线上最多的点数.md)
- [523.连续的子数组和](https://github.com/MoeYang/go-leetcode/blob/main/math/523.连续的子数组和.md)
- [1780.判断一个数字是否可以表示成三的幂的和](https://github.com/MoeYang/go-leetcode/blob/main/math/1780.判断一个数字是否可以表示成三的幂的和.md)
- [1785.构成特定和需要添加的最少元素](https://github.com/MoeYang/go-leetcode/blob/main/math/1785.构成特定和需要添加的最少元素.md)
- [1862.向下取整数对和](https://github.com/MoeYang/go-leetcode/blob/main/math/1862.向下取整数对和.md)
- [面试题16.05.阶乘尾数](https://github.com/MoeYang/go-leetcode/blob/main/math/面试题16.05.阶乘尾数.md)
- [面试题16.14.最佳直线](https://github.com/MoeYang/go-leetcode/blob/main/math/面试题16.14.最佳直线.md)
- [面试题17.01.不用加号的加法](https://github.com/MoeYang/go-leetcode/blob/main/math/面试题17.01.不用加号的加法.md)
- [面试题17.04.消失的数字](https://github.com/MoeYang/go-leetcode/blob/main/math/面试题17.04.消失的数字.md)

### slide_window
- [3.无重复字符的最长子串](https://github.com/MoeYang/go-leetcode/blob/main/slide_window/3.无重复字符的最长子串.md)
- [76.最小覆盖子串](https://github.com/MoeYang/go-leetcode/blob/main/slide_window/76.最小覆盖子串.md)
- [438.找到字符串中所有字母异位词](https://github.com/MoeYang/go-leetcode/blob/main/slide_window/438.找到字符串中所有字母异位词.md)
- [713.乘积小于K的子数组](https://github.com/MoeYang/go-leetcode/blob/main/slide_window/713.乘积小于K的子数组.md)
- [面试题17.18.最短超串](https://github.com/MoeYang/go-leetcode/blob/main/slide_window/面试题17.18.最短超串.md)
- [1838.最高频元素的频数](https://github.com/MoeYang/go-leetcode/blob/main/slide_window/1838.最高频元素的频数.md)
- [2134.最少交换次数来组合所有的1II](https://github.com/MoeYang/go-leetcode/blob/main/slide_window/2134.最少交换次数来组合所有的1II.md)
- [5873.考试的最大困扰度](https://github.com/MoeYang/go-leetcode/blob/main/slide_window/5873.考试的最大困扰度.md)

### sorts
- [1996.游戏中弱角色的数量](https://github.com/MoeYang/go-leetcode/blob/main/sorts/1996.游戏中弱角色的数量.md)
- [2050.并行课程III](https://github.com/MoeYang/go-leetcode/blob/main/sorts/2050.并行课程III.md)
- [2054.两个最好的不重叠活动](https://github.com/MoeYang/go-leetcode/blob/main/sorts/2054.两个最好的不重叠活动.md)
- [剑指OfferII115.重建序列](https://github.com/MoeYang/go-leetcode/blob/main/sorts/剑指OfferII115.重建序列.md)

### stack
- [32.最长有效括号](https://github.com/MoeYang/go-leetcode/blob/main/stack/32.最长有效括号.md)
- [42.接雨水](https://github.com/MoeYang/go-leetcode/blob/main/stack/42.接雨水.md)
- [84.柱状图中最大的矩形](https://github.com/MoeYang/go-leetcode/blob/main/stack/84.柱状图中最大的矩形.md)
- [85.最大矩形](https://github.com/MoeYang/go-leetcode/blob/main/stack/85.最大矩形.md)
- [239.滑动窗口最大值](https://github.com/MoeYang/go-leetcode/blob/main/stack/239.滑动窗口最大值.md)
- [456.132模式](https://github.com/MoeYang/go-leetcode/blob/main/stack/456.132模式.md)
- [496.下一个更大元素I](https://github.com/MoeYang/go-leetcode/blob/main/stack/496.下一个更大元素I.md)
- [739.每日温度](https://github.com/MoeYang/go-leetcode/blob/main/stack/739.每日温度.md)
- [907.子数组的最小值之和](https://github.com/MoeYang/go-leetcode/blob/main/stack/907.子数组的最小值之和.md)
- [1717.删除子字符串的最大得分](https://github.com/MoeYang/go-leetcode/blob/main/stack/1717.删除子字符串的最大得分.md)
- [1793.好子数组的最大分数](https://github.com/MoeYang/go-leetcode/blob/main/stack/1793.好子数组的最大分数.md)
- [1856.子数组最小乘积的最大值](https://github.com/MoeYang/go-leetcode/blob/main/stack/1856.子数组最小乘积的最大值.md)
- [1944.队列中可以看到的人数](https://github.com/MoeYang/go-leetcode/blob/main/stack/1944.队列中可以看到的人数.md)
- [面试题16.26.计算器](https://github.com/MoeYang/go-leetcode/blob/main/stack/面试题16.26.计算器.md)
- [面试题17.21.直方图的水量](https://github.com/MoeYang/go-leetcode/blob/main/stack/面试题17.21.直方图的水量.md)

### string
- [28.实现strStr()](https://github.com/MoeYang/go-leetcode/blob/main/string/28.实现strStr().md)
- [844.比较含退格的字符串](https://github.com/MoeYang/go-leetcode/blob/main/string/844.比较含退格的字符串.md)
- [926.将字符串翻转到单调递增](https://github.com/MoeYang/go-leetcode/blob/main/string/926.将字符串翻转到单调递增.md)
- [1759.统计同构子字符串的数目](https://github.com/MoeYang/go-leetcode/blob/main/string/1759.统计同构子字符串的数目.md)
- [1790.仅执行一次字符串交换能否使两个字符串相等](https://github.com/MoeYang/go-leetcode/blob/main/string/1790.仅执行一次字符串交换能否使两个字符串相等.md)
- [1805.字符串中不同整数的数目](https://github.com/MoeYang/go-leetcode/blob/main/string/1805.字符串中不同整数的数目.md)
- [1807.替换字符串中的括号内容](https://github.com/MoeYang/go-leetcode/blob/main/string/1807.替换字符串中的括号内容.md)
- [1813.句子相似性III](https://github.com/MoeYang/go-leetcode/blob/main/string/1813.句子相似性III.md)
- [1839.所有元音按顺序排布的最长子字符串](https://github.com/MoeYang/go-leetcode/blob/main/string/1839.所有元音按顺序排布的最长子字符串.md)
- [1915.最美子字符串的数目](https://github.com/MoeYang/go-leetcode/blob/main/string/1915.最美子字符串的数目.md)

### tree
- [96.不同的二叉搜索树](https://github.com/MoeYang/go-leetcode/blob/main/tree/96.不同的二叉搜索树.md)
- [98.验证二叉搜索树](https://github.com/MoeYang/go-leetcode/blob/main/tree/98.验证二叉搜索树.md)
- [99.恢复二叉搜索树](https://github.com/MoeYang/go-leetcode/blob/main/tree/99.恢复二叉搜索树.md)
- [101.对称二叉树](https://github.com/MoeYang/go-leetcode/blob/main/tree/101.对称二叉树.md)
- [102.二叉树的层序遍历](https://github.com/MoeYang/go-leetcode/blob/main/tree/102.二叉树的层序遍历.md)
- [105.从前序与中序遍历序列构造二叉树](https://github.com/MoeYang/go-leetcode/blob/main/tree/105.从前序与中序遍历序列构造二叉树.md)
- [114.二叉树展开为链表](https://github.com/MoeYang/go-leetcode/blob/main/tree/114.二叉树展开为链表.md)
- [124.二叉树中的最大路径和](https://github.com/MoeYang/go-leetcode/blob/main/tree/124.二叉树中的最大路径和.md)
- [208.实现Trie(前缀树)](https://github.com/MoeYang/go-leetcode/blob/main/tree/208.实现Trie(前缀树).md)
- [297.二叉树的序列化与反序列化](https://github.com/MoeYang/go-leetcode/blob/main/tree/297.二叉树的序列化与反序列化.md)
- [437. 路径总和 III](https://github.com/MoeYang/go-leetcode/blob/main/tree/437.路径总和III.md)
- [538.把二叉搜索树转换为累加树](https://github.com/MoeYang/go-leetcode/blob/main/tree/538.把二叉搜索树转换为累加树.md)
- [729.我的日程安排表I](https://github.com/MoeYang/go-leetcode/blob/main/tree/729.我的日程安排表I.md)
- [783.二叉搜索树节点最小距离](https://github.com/MoeYang/go-leetcode/blob/main/tree/783.二叉搜索树节点最小距离.md)
- [863.二叉树中所有距离为K的结点](https://github.com/MoeYang/go-leetcode/blob/main/tree/863.二叉树中所有距离为K的结点.md)
- [919.完全二叉树插入器](https://github.com/MoeYang/go-leetcode/blob/main/tree/919.完全二叉树插入器.md)
- [993.二叉树的堂兄弟节点](https://github.com/MoeYang/go-leetcode/blob/main/tree/993.二叉树的堂兄弟节点.md)
- [剑指OfferII067.最大的异或](https://github.com/MoeYang/go-leetcode/blob/main/tree/剑指OfferII067.最大的异或.md)
- [面试题04.05.合法二叉搜索树](https://github.com/MoeYang/go-leetcode/blob/main/tree/面试题04.05.合法二叉搜索树.md)
- [面试题04.06.后继者](https://github.com/MoeYang/go-leetcode/blob/main/tree/面试题04.06.后继者.md)
- [面试题04.08.首个共同祖先](https://github.com/MoeYang/go-leetcode/blob/main/tree/面试题04.08.首个共同祖先.md)
- [面试题04.12.求和路径](https://github.com/MoeYang/go-leetcode/blob/main/tree/面试题04.12.求和路径.md)
- [面试题10.10.数字流的秩](https://github.com/MoeYang/go-leetcode/blob/main/tree/面试题10.10.数字流的秩.md)
- [面试题17.12.BiNode](https://github.com/MoeYang/go-leetcode/blob/main/tree/面试题17.12.BiNode.md)

### trie
- [面试题17.17.多次搜索](https://github.com/MoeYang/go-leetcode/blob/main/trie/面试题17.17.多次搜索.md)
- [面试题17.25.单词矩阵](https://github.com/MoeYang/go-leetcode/blob/main/trie/面试题17.25.单词矩阵.md)

### union_find
- [1697.检查边长度限制的路径是否存在](https://github.com/MoeYang/go-leetcode/blob/main/union_find/1697.检查边长度限制的路径是否存在.md)
- [1722.执行交换操作后的最小汉明距离](https://github.com/MoeYang/go-leetcode/blob/main/union_find/1722.执行交换操作后的最小汉明距离.md)
- [1905.统计子岛屿](https://github.com/MoeYang/go-leetcode/blob/main/union_find/1905.统计子岛屿.md)
- [2076.处理含限制条件的好友请求](https://github.com/MoeYang/go-leetcode/blob/main/union_find/2076.处理含限制条件的好友请求.md)
- [LCS03.主题空间](https://github.com/MoeYang/go-leetcode/blob/main/union_find/LCS03.主题空间.md)
- [面试题16.19.水域大小](https://github.com/MoeYang/go-leetcode/blob/main/union_find/面试题16.19.水域大小.md)
- [面试题17.07.婴儿名字](https://github.com/MoeYang/go-leetcode/blob/main/union_find/面试题17.07.婴儿名字.md)