<h1 align="center">Welcome to leetcode-javascript 👋</h1>
<p>
<a href="#" target="_blank">
<img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
</a>
</p>
> 力扣的题解记录(JavaScript)
## 关于我
大家好,我是 ssh,现在在字节跳动的 Web Infra 担任前端工程师,微信:**[sshsunlight](https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/017d568dc1d14cd883cc3238350a39ec~tplv-k3u1fbpfcp-watermark.image)**,欢迎找我交个朋友。
一些算法相关的资料,我放在「前端从进阶到入院」公众号里了,回复「资料」即可获取。

## 调试
提供了 .vscode 配置文件,在 vscode 中选择「小爬虫」图标,点击启动程序,即可启动断点调试。
## 思路
思路会记录在本仓库的 Issues 中,按照 label 进行分类。比如想查看 「DFS」 分类下的问题,那么选择标签进行筛选即可。
## 目录
### 例题详解
[最接近的三数之和-16](https://github.com/sl1673495/leetcode-javascript/issues/115)
[分发饼干-455](https://github.com/sl1673495/leetcode-javascript/issues/88)
[N皇后-51](https://github.com/sl1673495/leetcode-javascript/issues/78)
[单词搜索-79](https://github.com/sl1673495/leetcode-javascript/issues/77)
[二进制手表-401](https://github.com/sl1673495/leetcode-javascript/issues/76)
[电话号码的字母组合-17](https://github.com/sl1673495/leetcode-javascript/issues/65)
[二叉树的所有路径-257](https://github.com/sl1673495/leetcode-javascript/issues/59)
[路径总和-112](https://github.com/sl1673495/leetcode-javascript/issues/57)
[两两交换链表中的节点-24](https://github.com/sl1673495/leetcode-javascript/issues/51)
[有效的括号-20](https://github.com/sl1673495/leetcode-javascript/issues/48)
[无重复字符的最长子串-3](https://github.com/sl1673495/leetcode-javascript/issues/42)
[二分查找-704](https://github.com/sl1673495/leetcode-javascript/issues/23)
### 递归与回溯
[跳水板-面试题 16.11 ](https://github.com/sl1673495/leetcode-javascript/issues/118)
[顺次数-1291](https://github.com/sl1673495/leetcode-javascript/issues/116)
[螺旋矩阵 II-59](https://github.com/sl1673495/leetcode-javascript/issues/113)
[螺旋矩阵-54](https://github.com/sl1673495/leetcode-javascript/issues/112)
[矩阵置零-73](https://github.com/sl1673495/leetcode-javascript/issues/111)
[不同路径 III-980](https://github.com/sl1673495/leetcode-javascript/issues/107)
[字母大小写全排列-784](https://github.com/sl1673495/leetcode-javascript/issues/106)
[黄金矿工-1219](https://github.com/sl1673495/leetcode-javascript/issues/105)
[有重复字符串的排列组合-面试题 08.08](https://github.com/sl1673495/leetcode-javascript/issues/104)
[单词搜索 II-212](https://github.com/sl1673495/leetcode-javascript/issues/92)
[解数独-37](https://github.com/sl1673495/leetcode-javascript/issues/79)
[N皇后-51](https://github.com/sl1673495/leetcode-javascript/issues/78)
[单词搜索-79](https://github.com/sl1673495/leetcode-javascript/issues/77)
[二进制手表-401](https://github.com/sl1673495/leetcode-javascript/issues/76)
[子集 II-90](https://github.com/sl1673495/leetcode-javascript/issues/75)
[ 组合总和 III-216](https://github.com/sl1673495/leetcode-javascript/issues/74)
[组合总和 II-40](https://github.com/sl1673495/leetcode-javascript/issues/73)
[组合总和-39](https://github.com/sl1673495/leetcode-javascript/issues/72)
[子集-78](https://github.com/sl1673495/leetcode-javascript/issues/71)
[组合-77](https://github.com/sl1673495/leetcode-javascript/issues/70)
[全排列 II-47](https://github.com/sl1673495/leetcode-javascript/issues/69)
[全排列-46](https://github.com/sl1673495/leetcode-javascript/issues/68)
[分割回文串-131](https://github.com/sl1673495/leetcode-javascript/issues/67)
[复原IP地址-93](https://github.com/sl1673495/leetcode-javascript/issues/66)
[电话号码的字母组合-17](https://github.com/sl1673495/leetcode-javascript/issues/65)
[括号生成-22](https://github.com/sl1673495/leetcode-javascript/issues/31)
### 动态规划
[最长的斐波那契子序列的长度-873](https://github.com/sl1673495/leetcode-javascript/issues/117)
[最长重复子数组-718](https://github.com/sl1673495/leetcode-javascript/issues/114)
[下降路径最小和-931](https://github.com/sl1673495/leetcode-javascript/issues/108)
[最大正方形-221](https://github.com/sl1673495/leetcode-javascript/issues/101)
[恢复空格-面试题 17.13](https://github.com/sl1673495/leetcode-javascript/issues/100)
[最长单词-面试题 17.15](https://github.com/sl1673495/leetcode-javascript/issues/99)
[单词拆分 II-140](https://github.com/sl1673495/leetcode-javascript/issues/95)
[单词拆分-139](https://github.com/sl1673495/leetcode-javascript/issues/93)
[最长回文子串-5](https://github.com/sl1673495/leetcode-javascript/issues/91)
[无重叠区间-435](https://github.com/sl1673495/leetcode-javascript/issues/90)
[目标和-494](https://github.com/sl1673495/leetcode-javascript/issues/87)
[一和零-474](https://github.com/sl1673495/leetcode-javascript/issues/86)
[最长公共子序列-1143](https://github.com/sl1673495/leetcode-javascript/issues/85)
[摆动序列-376](https://github.com/sl1673495/leetcode-javascript/issues/84)
[最长上升子序列-300](https://github.com/sl1673495/leetcode-javascript/issues/83)
[最长等差数列-1027](https://github.com/sl1673495/leetcode-javascript/issues/82)
[解码方法-91](https://github.com/sl1673495/leetcode-javascript/issues/81)
[三角形最小路径和-120](https://github.com/sl1673495/leetcode-javascript/issues/80)
[最小路径和-64](https://github.com/sl1673495/leetcode-javascript/issues/34)
[括号生成-22](https://github.com/sl1673495/leetcode-javascript/issues/31)
[爬楼梯-70](https://github.com/sl1673495/leetcode-javascript/issues/22)
[买卖股票的最佳时机-121](https://github.com/sl1673495/leetcode-javascript/issues/19)
### 双指针
[最接近的三数之和-16](https://github.com/sl1673495/leetcode-javascript/issues/115)
[通过删除字母匹配到字典里最长单词-524](https://github.com/sl1673495/leetcode-javascript/issues/98)
[搜索二维矩阵 II-240](https://github.com/sl1673495/leetcode-javascript/issues/96)
[判断子序列-392](https://github.com/sl1673495/leetcode-javascript/issues/89)
[分发饼干-455](https://github.com/sl1673495/leetcode-javascript/issues/88)
[验证回文串-125](https://github.com/sl1673495/leetcode-javascript/issues/33)
[两数之和 II - 输入有序数组-167](https://github.com/sl1673495/leetcode-javascript/issues/32)
[合并两个有序数组-88](https://github.com/sl1673495/leetcode-javascript/issues/29)
[移动零-283](https://github.com/sl1673495/leetcode-javascript/issues/26)
### 前缀和
[和为K的子数组-560](https://github.com/sl1673495/leetcode-javascript/issues/110)
### 位运算
[找不同-389](https://github.com/sl1673495/leetcode-javascript/issues/109)
### 查找表
[找不同-389](https://github.com/sl1673495/leetcode-javascript/issues/109)
[两个数组的交集 II-350](https://github.com/sl1673495/leetcode-javascript/issues/37)
### BFS
[跳跃游戏 IV-1345](https://github.com/sl1673495/leetcode-javascript/issues/103)
[跳跃游戏 III-1306](https://github.com/sl1673495/leetcode-javascript/issues/102)
[二叉树的最小深度-111](https://github.com/sl1673495/leetcode-javascript/issues/54)
[二叉树的最大深度-104](https://github.com/sl1673495/leetcode-javascript/issues/53)
[二叉树的右视图-199](https://github.com/sl1673495/leetcode-javascript/issues/52)
[二叉树的层序遍历-102](https://github.com/sl1673495/leetcode-javascript/issues/30)
[相同的树-100](https://github.com
没有合适的资源?快使用搜索试试~ 我知道了~
喝杯小酒,一起做题 前端攻城狮从零入门算法的宝藏题库,根据知名算法老师的经验总结了100+道LeetCode力扣的经典题型Jav...

共161个文件
js:153个
txt:2个
json:2个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 49 浏览量
2024-11-25
03:04:38
上传
评论
收藏 93KB ZIP 举报
温馨提示
喝杯小酒,一起做题。前端攻城狮从零入门算法的宝藏题库,根据知名算法老师的经验总结了100+道LeetCode力扣的经典题型JavaScript题解和思路。已按题目类型分标签,一起加油。欢迎来到 leetcode-javascript 力扣的题解记录(JavaScript)关于我大家好,我是ssh,现在在字节跳动的Web Infra聘用了一名工程师,微信sshsunlight,欢迎找我交个朋友。一些算法相关的资料,我把「前端从进阶到入院」公众号里了,回复「资料」即可获取。调试提供了.vscode配置文件,在vscode中选择「小爬虫」图标,点击启动程序,即可启动断点调试。思想思路会记录在本仓库的Issues中,按照标签进行分类。比如想查看「DFS」分类下的问题,那么选择标签进行筛选即可。目錄例题详解最接近的三数和-16分发饼干-455N皇后-51单词搜索-79二进制手表-401电话号码的字母组合-17二叉树的所有路径-257路径总和-112两交换链表中的节点-24毕业论文-20无重复角色的终结子串-3
资源推荐
资源详情
资源评论

























收起资源包目录





































































































共 161 条
- 1
- 2
资源评论


赵闪闪168
- 粉丝: 1746
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 生产流水线小车的PLC控制设计.doc
- 智慧交通产品总体解决方案-交通信息资源平台.docx
- 仓库管理系统设计与实现软件工程课程设计.doc
- Packet-Tracer-5.2实验(十四)-网络地址转换NAT配置.doc
- 电子商务企业电子商务的创建与管理.doc
- 健康养生网站分析推广.ppt
- 幻灯片1首页《数据库原理及其应用》精品课程河南科技大学.ppt
- XXX云计算平台建设总体技术实施方案.doc
- 基于云计算辅助教学的艺术类高职公共英语教学改革与发展研究.docx
- plc电梯毕业-设计.doc
- 翻转课程在计算机基础应用课程中的应用研究.docx
- EPP模式的数据采集卡设计方案.doc
- 液晶显示屏LCD显示接口方案设计书-课程方案设计书.doc
- 项目安全生产文明施工管理网络.doc
- 人事管理系统的研究设计数据库课程研究设计.doc
- 信息系统项目管理师九大知识领域过程输入输出.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
