├── .gitignore
├── 经典面试题
└── nodejs中的事件循环
│ └── testReadFile.js
├── README.md
├── css相关
├── 烟花绽放
│ └── 烟花雪碧图.png
├── 有用的伪类
│ └── in-out-range.html
├── 省略号动画
│ ├── inline-table加动画实现.html
│ └── 伪类实现.html
├── 两列布局
│ ├── 左侧定宽右侧自适应
│ │ ├── 2.浮动+calc.html
│ │ ├── 4.margin-left.html
│ │ ├── 3.flex.html
│ │ └── 1.inline-block.html
│ └── 左侧由内容决定右侧补齐剩余空间
│ │ ├── 1.flex.html
│ │ ├── 2.grid.html
│ │ └── 3.浮动+bfc.html
├── 三列布局
│ ├── 3.flex.html
│ ├── 4.grid.html
│ ├── 2.table.html
│ └── 1.float.html
├── css实现输入错误时抖动效果
│ └── index.html
└── 毛玻璃效果
│ └── backdrop-fit属性.html
├── js实现常见库的功能
└── 原生JS实现图片懒加载
│ └── images
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ ├── 4.png
│ ├── 5.png
│ └── 6.png
├── js-实现原生api
├── JS模块化规范
│ ├── commonjs
│ │ ├── 循环引用
│ │ │ ├── a.js
│ │ │ ├── b.js
│ │ │ └── main.js
│ │ └── 手写一个require,缓存问题
│ │ │ ├── index.js
│ │ │ └── main.js
│ └── esmodule
│ │ └── 导出是绑定的,无论是否基本类型
│ │ ├── main.js
│ │ ├── index.html
│ │ └── foo.js
├── ES5实现ES6的let和const
│ └── 实现let.html
├── setTimeout、setInterval
│ └── setInterval实现setTimeout.html
├── ajax
│ └── 原生ajax请求.js
├── 数组类
│ ├── 实现数组push方法.html
│ ├── 实现数组find.html
│ └── 实现数组findIndex.html
├── JSON相关
│ └── 1.实现JSON.parse.html
├── 数字类
│ ├── 实现数字相乘.html
│ └── 实现数字相加.html
└── 1.实现instanceof.html
├── canvas的常见demo
└── canvas识别纯色图片的图形数量和面积
│ └── images
│ ├── 1.jpg
│ ├── 2.jpg
│ └── 3.jpg
├── js小工具demo
├── 判断设备类型
│ ├── 1.判断移动端.js
│ └── 2.判断安卓或IOS.js
├── 检查规则类
│ ├── 检查数字是偶数还是奇数.html
│ └── 检查日期是否为周末、工作日.html
├── 数字类操作
│ ├── 求所有参数的平均值.html
│ ├── 阶乘函数.html
│ ├── 判断非数字_isNaN.html
│ └── 摄氏度和华氏度转换.html
├── 随机
│ └── 随机生成
│ │ ├── 随机获取布尔值.html
│ │ └── 数字
│ │ └── 在min、max范围内生成随机数.html
├── 字符串类操作
│ ├── 字符串第一个字母大写
│ │ └── index.html
│ ├── 字符和ASCII互相转换.html
│ ├── 截断字符串加省略号
│ │ ├── 结尾处截断并加省略号.html
│ │ └── 中间处截断并加省略号.html
│ ├── 大小写反转.html
│ └── 判断不能有相同长度超过2的子串重复.html
├── 将文字复制到剪切板.html
├── 禁止类工具函数
│ ├── 禁止右键、选择、复制.html
│ └── 禁止某些键盘事件.html
├── 合并
│ └── 合并多个数组.html
├── 时间和日期相关
│ ├── 计算两个日期之间的天数.html
│ └── 给定起止日期返回中间所有月份.html
├── DOM相关
│ ├── 获取dom元素的所有祖先.html
│ ├── 处理元素外的点击事件.html
│ └── 判断一个元素是否包含另一个元素.html
├── 生成UUID.html
├── interval和repeat相关工具函数
│ └── 生成重复的字符串.html
├── 颜色工具
│ └── 输出十六进制随机颜色
│ │ └── index.html
├── 3.once函数.html
├── cookies操作
│ └── cookies操作.js
├── 函数只能执行一次
│ └── 函数只能执行一次.html
├── 衡量函数的性能
│ └── 衡量函数的性能.html
├── 网络请求相关
│ └── fetch网络请求自动重试retry.html
├── 如何找到当前页面出现次数最多的html标签.html
└── 添加默认值或报错提示
│ └── 添加默认值或报错提示.html
├── webpack相关
└── 写一个helloword的webpack插件
│ ├── webpack.config.js
│ └── index.js
├── nodejs相关
├── nodejs中间件
│ └── 实现一个中间件打印当前访问的URL
│ │ ├── index.js
│ │ └── log.js
└── node-cluster
│ ├── cluster.js
│ ├── app.js
│ └── pm2.config.js
├── babel相关
└── 手写插件
│ └── 数字预计算插件
│ └── test.js
├── 016.最接近的三数之和
└── 016 solution.html
├── 2235.两整数相加
└── 2235solution.html
├── 正则表达式
└── 常见正则面试题
│ ├── 提取日期字符串的数字.html
│ ├── 正则match和小括号使用注意点.html
│ ├── 1.叠词数量.html
│ └── 多个空格转成一个空格,各种正则性能对比.html
├── 1707 与数组中元素的最大异或值
└── 1707 solution.html
├── URL相关
├── 1.获取基础的url.html
└── 2.检查url是否绝对的.html
├── 1108.IP地址无效化
└── 1108 solution.html
├── 237.删除链表中的节点
└── solution.html
├── 2413.最小偶倍数
└── 2413 solution.html
├── 1784.检查二进制字符串字段
└── 1784 solution.html
├── 2236.判断根节点是否等于子节点之和
└── 2236 solution.html
├── 2683.相邻值的按位异或
└── 2683 solution.html
├── 2469.温度转换
└── 2469 solution.html
├── 2446.判断两个事件是否存在冲突
└── 2446 solution.html
├── 3227.字符串元音游戏
└── 3227 solution.html
├── 2769.找出最大的可达成数字
└── 2769 solution.html
├── package.json
├── 2027.转换字符串的最少操作次数
└── 2027 solution.html
├── 292.Nim游戏
└── solution.html
├── 2582.递枕头
└── 2582 solution.html
├── 1374.生成每种字符都是奇数个的字符串
└── 1374 solution.html
├── 3131.找出与数组相加的整数I
└── 3131 solution.html
├── react相关
└── 手写一个redux中间件.js
├── 2656.K个元素的最大和
└── 2656 solution.html
├── 319.灯泡开关
└── solution.html
├── 2278.字母在字符串中的百分比
└── 2278 solution.html
├── 3432.统计元素和的差值为偶数的分区方案数
└── 3432 solution.html
├── 3110.字符串的分数
└── 3110 solution.html
├── 2651.计算列车到站时间
└── 2651 solution.html
├── 2481.分隔圆的最少切割次数
└── 2481 solution.html
├── 470.用rand7()实现rand10()
└── 470 solution.html
├── LCP06.拿硬币
└── 拿硬币.html
├── 1753.移除石子的最大得分
└── 1753 solution.html
├── 2485.找出中枢整数
└── 2485 solution.html
├── 575.分果糖
└── 575 solution.html
├── 1732.找到最高海拔
└── 1732 solution.html
├── 3370.仅含置位位的最小整数
└── 3370 solution.html
├── 1812.判断国际象棋棋盘中一个格子的颜色
└── 1812 solution.html
├── 2331.计算布尔二叉树的值
└── 2331 solution.html
├── 521.最长特殊序列I
└── 521 solution.html
├── 303.区域和检索-数组不可变
└── solution.html
├── 814.二叉树剪枝
└── 814 solution.html
├── 2595.奇偶位数
└── 2595 solution.html
├── 2974.最小数字游戏
└── 2974 solution.html
├── 2673.使二叉树所有路径值相等的最小代价
└── 2673 solution.html
├── 754.到达终点数字
└── 754 solution.html
├── 2294.划分数组使最大差为K
└── 2294 solution.html
├── 287.寻找重复数
└── solution.html
├── 二进制转字符串
└── solution.html
├── 2530.执行K次操作后的最大分数
└── 2530 solution.html
├── 2716.最小化字符串长度
└── 2716 solution.html
├── 3065.超过阈值的最少操作次数I
└── 3065 solution.html
├── 933.最近请求次数
└── 933 solution.html
├── 3340.检查平衡字符串
└── 3340 solution.html
├── 344.反转字符串
└── 344 solution.html
├── 769.最多能完成排序的块
└── 769 solution.html
├── 1290.二进制链表转整数
└── 1290 solution.html
├── 1822.数组元素积的符号
└── 1822 solution.html
├── 3019.按键变更的次数
└── 3019 solution.html
├── 1281.整数的各位积和之差
└── 1281 solution.html
├── 2544.交替数字和
└── 2544 solution.html
├── 2789.合并后数组中的最大元素
└── 2789 solution.html
├── 3487.删除后的最大子数组元素和
└── 3487 solution.html
├── !补充题 12.trim函数
└── trim函数.html
├── 2520.统计能整除数字的位数
└── 2520 solution.html
├── 561.数组拆分 I
└── 561 solution.html
├── 1013.数组分成和相等的三个部分
└── 1013 solution.html
├── 1758.生成交替二进制字符串的最少操作数
└── 1758 solution.html
├── 2185.统计包含给定前缀的字符串
└── 2185 solution.html
├── 263.丑数
└── solution.html
├── 371.不是用+-计算两整数之和
└── 371 solution.html
├── 1038.从二叉搜索树到更大和树
└── 1038 solution.html
├── 1317.将整数转换为两个无零整数的和
└── 1317 solution.html
├── 2740.找出分区值
└── 2740 solution.html
├── 2864.最大二进制奇数
└── 2864 solution.html
├── 3330.找到初始输入字符串I
└── 3330 solution.html
├── 1480.一维数组的动态和
└── 1480 solution.html
├── 2255.统计是给定字符串前缀的字符串数目
└── 2255 solution.html
├── 2535.数组元素和与数字和的绝度差
└── 2535 solution.html
├── 2938.区分黑球与白球
└── 2938 solution.html
├── 比较两个字符串,标记出增删改的位置
└── 比较两个字符串,标记出增删改的位置改的位置.html
├── 2455.可被三整除的偶数的平均值
└── 2455 solution.html
├── 2951.找出峰值
└── 2951 solution.html
├── 1911.最大子序列交替和
└── 1911 solution.html
├── 2341.数组能形成多少数对
└── 2341 solution.html
├── 3046.分割数组
└── 3046 solution.html
├── 342.4的幂
└── 342 solution.html
├── 3423.循环数组中相邻元素的最大差值
└── 3423 solution.html
├── !补充题48.打开任意网页用JS打印所有s和h开头的标签并计数
└── 打开任意网页用JS打印所有s和h开头的标签并计数.html
├── 1619.删除某些元素后的数组均值
└── 1619 solution.html
├── 3185.构成整天的下标对数目II
└── 3185 solution.html
├── 1003.检查替换后的词是否有效
└── 1003 solution.html
├── 2395.和相等的子数组
└── 2395 solution.html
├── 3038.相同分数的最大操作数目I
└── 3038 solution.html
├── 3101.交替子数组计数
└── 3101 solution.html
├── 3255.长度为K的子数组的能量值II
└── 3255 solution.html
├── 3392.统计符合条件长度为 3 的子数组数目
└── 3392 solution.html
├── 剑指offerII 041.滑动窗口的平均值
└── 滑动窗口的平均值.html
├── 1827.最少操作使数组递增
└── 1827 solution.html
├── 2315.统计星号
└── 2315 solution.html
├── 2390.从字符串中移除星号
└── 2390 solution.html
├── 2575.找出字符串的可整除数组
└── 2575 solution.html
├── 3174.清除数字
└── 3174 solution.html
├── !补充题 3.计算字符串字节数
└── 计算字节长度.html
├── 1785.构成特定和需要添加的最少元素
└── 1785 solution.html
├── 2678.老人的数目
└── 2678 solution.html
├── 3516.找到最近的人
└── 3516 solution.html
├── 453.最小操作次数使数组元素相等
└── 453 solution.html
├── 976.三角形最大周长
└── 976 solution.html
├── 050.实现幂函数
└── 050 solution.html
├── 1217.玩筹码
└── 1217 solution.html
├── 2145.统计隐藏数组数目
└── 2145 solution.html
├── 2335.装满杯子需要的最短时长
└── 2335 solution.html
├── 2798.满足目标工作时长的员工数目
└── 2798 solution.html
├── 3304.找出第K个字符I
└── 3304 solution.html
├── 459.是否由子串重复多次构成
└── 459 solution.html
├── 492.构造矩形
└── 492 solution.html
├── 2364.统计坏数对的数目
└── 2364 solution.html
├── 2942.查找包含给定字符串的单词
└── 2942 solution.html
├── 3375.使数组的值全部为 K 的最少操作次数
└── 3375 solution.html
├── 169.求众数,出现次数超过2分之n的第一个元素
└── 169 solution.html
├── 908.最小差值I
└── 908 solution.html
├── 1800.最大升序子数组和
└── 1800 solution.html
├── 1877.数组中最大数对和的最小值
└── 1877 solution.html
├── 2578.最小和分割
└── 2578 solution.html
├── 2917.找出数组中的k-or值
└── 2917 solution.html
├── 3194.最小元素和最大元素的最小平均值
└── 3194 solution.html
├── !补充题23.删除重复节点
└── 删除重复节点.html
├── 2828.判别首字母缩略词
└── 2828 solution.html
├── 989.数组形式的整数加法
└── 989 solution.html
├── 1018.可被5整除的二进制前缀
└── 1018 solution.html
├── 2923.找到冠军I
└── 2923 solution.html
├── 1441.用栈操作来构建数组
└── 1441 solution.html
├── 1963.使字符串平衡的最小交换次数
└── 1963 solution.html
├── 2465.不同的平均值数目
└── 2465 solution.html
├── 3184.构成整天的下标对数目I
└── 3184 solution.html
├── 326.3的幂
└── solution.html
├── 434.字符串中的单词数
└── 434 solution.html
├── 124.二叉树中最大路径和
└── 124 solution.html
├── 1375.二进制字符串中前缀一致的次数
└── 1375 solution.html
├── 1720.解码异或后的数组
└── 1720 solution.html
├── 2037.使每位学生都有座位的最少移动次数
└── 2037 solution.html
├── 2129.将标题首字母大写
└── 2129 solution.html
├── 3158.求出出现两次数字的XOR值
└── 3158 solution.html
├── 901.股票价格跨度
└── 901 solution.html
├── 1186.删除一次得到子数组最大和
└── 1186 solution.html
├── 1470.重新排列数组
└── 1470 solution.html
├── 746.使用最小花费爬楼梯
└── 746 solution.html
├── 069.求平方根
└── 069 solution.html
├── 1448.统计二叉树中好节点的数量
└── 1448 solution.html
├── 1798.你能构造出连续值的最大数量
└── 1798 solution.html
├── 1845.座位预约管理系统
└── 1845 solution.html
├── 2588.统计美丽子数组数目
└── 2588 solution.html
├── 714.买卖股票的最佳时机+有手续费
└── 714 solution.html
├── 1598.文件夹操作日志搜集器
└── 1598 solution.html
├── 2125.银行中的激光束数量
└── 2125 solution.html
├── 2221.数组的三角和
└── 2221 solution.html
├── 2562.找出数组的串联值
└── 2562 solution.html
├── 674.最长连续递增序列
└── 674 solution.html
├── 常见手写题
└── 变量提升和作用域.html
├── 1044.最长重复子串
└── 1044 solution.html
├── 1250.检查好数组
└── index.html
├── 1637.两点之间不包含任何点的最宽垂直区域
└── 1637 solution.html
├── 2171.拿出最少数目的魔法豆
└── 2171 solution.html
├── 3274.检查棋盘方格颜色是否相同
└── 3274 solution.html
├── 724.寻找数组的中心索引
└── 724 solution.html
├── 1780.判断一个数是否可以表示成三的幂的和
└── 1780 solution.html
├── 2834.找出美丽数组的最小和
└── 2834 solution.html
├── 3146.两个字符串的排列差
└── 3146 solution.html
├── 891.子序列宽度之和
└── 891 solution.html
├── 899.有序队列
└── 899 solution.html
├── 1026.节点与其组先之间的最大差值
└── 1026 solution.html
├── 3096.得到更多分数的最少关卡数目
└── 3096 solution.html
├── 942.增减字符串匹配
└── 942 solution.html
├── 1446.连续字符
└── 1446 solution.html
├── 1561.你可以获得的最大硬币数目
└── 1561 solution.html
├── 258.各位相加
└── solution.html
├── 3206.交替组I
└── 3206 solution.html
├── 1672.最富有客户的资产总量
└── 1672 solution.html
├── 1984.学生分数的最小差值
└── 1984 solution.html
├── 2011.执行操作后的变量值
└── 2011 solution.html
└── 2414.最长的字母序连续子字符串的长度
└── 2414 solution.html
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
--------------------------------------------------------------------------------
/经典面试题/nodejs中的事件循环/testReadFile.js:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Algorithms-JS
2 |
3 | 1.LeetCode算法题的JS解法✏️📒
4 | 2.常见的面试手写题
5 |
--------------------------------------------------------------------------------
/css相关/烟花绽放/烟花雪碧图.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/css相关/烟花绽放/烟花雪碧图.png
--------------------------------------------------------------------------------
/js实现常见库的功能/原生JS实现图片懒加载/images/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/js实现常见库的功能/原生JS实现图片懒加载/images/1.png
--------------------------------------------------------------------------------
/js实现常见库的功能/原生JS实现图片懒加载/images/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/js实现常见库的功能/原生JS实现图片懒加载/images/2.png
--------------------------------------------------------------------------------
/js实现常见库的功能/原生JS实现图片懒加载/images/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/js实现常见库的功能/原生JS实现图片懒加载/images/3.png
--------------------------------------------------------------------------------
/js实现常见库的功能/原生JS实现图片懒加载/images/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/js实现常见库的功能/原生JS实现图片懒加载/images/4.png
--------------------------------------------------------------------------------
/js实现常见库的功能/原生JS实现图片懒加载/images/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/js实现常见库的功能/原生JS实现图片懒加载/images/5.png
--------------------------------------------------------------------------------
/js实现常见库的功能/原生JS实现图片懒加载/images/6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/js实现常见库的功能/原生JS实现图片懒加载/images/6.png
--------------------------------------------------------------------------------
/js-实现原生api/JS模块化规范/commonjs/循环引用/a.js:
--------------------------------------------------------------------------------
1 | // a.js
2 | module.exports.a = 1
3 | var b = require('./b')
4 | console.log(b)
5 | module.exports.a = 2
--------------------------------------------------------------------------------
/js-实现原生api/JS模块化规范/commonjs/循环引用/b.js:
--------------------------------------------------------------------------------
1 | // b.js
2 | module.exports.b = 11
3 | var a = require('./a')
4 | console.log(a)
5 | module.exports.b = 22
--------------------------------------------------------------------------------
/canvas的常见demo/canvas识别纯色图片的图形数量和面积/images/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/canvas的常见demo/canvas识别纯色图片的图形数量和面积/images/1.jpg
--------------------------------------------------------------------------------
/canvas的常见demo/canvas识别纯色图片的图形数量和面积/images/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/canvas的常见demo/canvas识别纯色图片的图形数量和面积/images/2.jpg
--------------------------------------------------------------------------------
/canvas的常见demo/canvas识别纯色图片的图形数量和面积/images/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yllg/Algorithms-JS/HEAD/canvas的常见demo/canvas识别纯色图片的图形数量和面积/images/3.jpg
--------------------------------------------------------------------------------
/js-实现原生api/JS模块化规范/esmodule/导出是绑定的,无论是否基本类型/main.js:
--------------------------------------------------------------------------------
1 | // http-server 浏览器运行
2 |
3 | // main.js
4 | import { a, count } from './foo.js';
5 | console.log(a); //1
6 | count();
7 | console.log(a); //2
8 |
--------------------------------------------------------------------------------
/js小工具demo/判断设备类型/1.判断移动端.js:
--------------------------------------------------------------------------------
1 |
2 | const isMobile = () => {
3 | return !!navigator.userAgent.match(
4 | /(iPhone|iPod|Android|ios|iOS|iPad|Backerry|WebOS|Symbian|Windows Phone|Phone)/i
5 | );
6 | };
--------------------------------------------------------------------------------
/webpack相关/写一个helloword的webpack插件/webpack.config.js:
--------------------------------------------------------------------------------
1 | const HelloWorldPlugin = require("./index");
2 |
3 | module.exports = {
4 | // ...其他配置...
5 | plugins: [
6 | new HelloWorldPlugin({
7 | options: true,
8 | }),
9 | ],
10 | };
11 |
--------------------------------------------------------------------------------
/js小工具demo/判断设备类型/2.判断安卓或IOS.js:
--------------------------------------------------------------------------------
1 |
2 | const isAndroid = () => {
3 | return /android/i.test(navigator.userAgent.toLowerCase());
4 | };
5 |
6 | const isIOS = () => {
7 | let reg = /iPhone|iPad|iPod|iOS|Macintosh/i;
8 | return reg.test(navigator.userAgent.toLowerCase());
9 | };
--------------------------------------------------------------------------------
/nodejs相关/nodejs中间件/实现一个中间件打印当前访问的URL/index.js:
--------------------------------------------------------------------------------
1 | const Koa = require('koa');
2 | const log = require('./log.js');
3 | const app = new Koa();
4 | let config = {
5 | format: text => text,
6 | }
7 | app.use(log(config));
8 | // 浏览器访问 http://localhost:3000/test 可以看到控制台输出的路径 /test
9 | app.listen(3000);
--------------------------------------------------------------------------------
/js-实现原生api/JS模块化规范/commonjs/手写一个require,缓存问题/index.js:
--------------------------------------------------------------------------------
1 | var a = 1;
2 | setTimeout(() => {
3 | a = 2;
4 | }, 2);
5 |
6 | // 导出 变量的几种写法
7 | // module.exports.a = a;
8 | // exports.a = a;
9 | module.exports = { a };
10 | // !注意,整体导出不能用exports,必须要用 module.exports, 因为源码这么写的
11 | // exports = { a };
12 |
--------------------------------------------------------------------------------
/nodejs相关/node-cluster/cluster.js:
--------------------------------------------------------------------------------
1 | const cluster = require('cluster');
2 |
3 | const instances = 2; // 启动进程数量
4 |
5 | if (cluster.isMaster) {
6 | for (let i = 0; i < instances; i++) {
7 | // 使用 cluster.fork 创建子进程
8 | cluster.fork();
9 | }
10 | } else {
11 | require('./app.js');
12 | }
13 |
--------------------------------------------------------------------------------
/nodejs相关/nodejs中间件/实现一个中间件打印当前访问的URL/log.js:
--------------------------------------------------------------------------------
1 | // log.js文件
2 | module.exports = (options) => {
3 | if (!options.format) {
4 | console.log('需要传递format参数');
5 | }
6 | return async (ctx, next) => {
7 | console.log('当前访问路径', options.format(ctx.url));
8 | await next();
9 | };
10 | };
11 |
--------------------------------------------------------------------------------
/webpack相关/写一个helloword的webpack插件/index.js:
--------------------------------------------------------------------------------
1 | class HelloWorldPlugin {
2 | apply(compiler) {
3 | // hook选择done 编译完成,tap同步
4 | compiler.hooks.done.tap("Hello World Plugin", (stats) => {
5 | console.log("Hello World");
6 | });
7 | }
8 | }
9 | module.exports = HelloWorldPlugin;
--------------------------------------------------------------------------------
/babel相关/手写插件/数字预计算插件/test.js:
--------------------------------------------------------------------------------
1 | const babel = require("babel-core");
2 |
3 | const result = babel.transform("const result = 1 + 2 + 3 +4 +5;", {
4 | plugins: [require("./index")],
5 | });
6 |
7 | console.log(result.code); // const result = 15;
8 |
9 | // 注意:小数计算会有误差的问题,可用1KB都不到的number-precision库,或5.9KB的big.js库来修正;
10 |
--------------------------------------------------------------------------------
/016.最接近的三数之和/016 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/js-实现原生api/JS模块化规范/esmodule/导出是绑定的,无论是否基本类型/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
10 |
11 | l
--------------------------------------------------------------------------------
/2235.两整数相加/2235solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/js-实现原生api/JS模块化规范/esmodule/导出是绑定的,无论是否基本类型/foo.js:
--------------------------------------------------------------------------------
1 | // es6 module 中基本类型也按引用传递
2 | export let a = 1;
3 |
4 | export function count() {
5 | a++;
6 | }
7 |
8 | // export default 是无法 a 的动态绑定 这一点跟 CommonJs 有点相似 都是值的拷贝
9 | // let a = 1;
10 | // export default a;
11 | // 可以用另一种方式实现 default 的动态绑定
12 | // let a = 1;
13 | // export { a as default }
14 | // export function count(){
15 | // a++
16 | // }
17 | // 注意要这样引入:
18 | // import a, { count } from './foo.js';
--------------------------------------------------------------------------------
/js小工具demo/检查规则类/检查数字是偶数还是奇数.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/正则表达式/常见正则面试题/提取日期字符串的数字.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/1707 与数组中元素的最大异或值/1707 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/js小工具demo/数字类操作/求所有参数的平均值.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/js小工具demo/随机/随机生成/随机获取布尔值.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/js小工具demo/字符串类操作/字符串第一个字母大写/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/nodejs相关/node-cluster/app.js:
--------------------------------------------------------------------------------
1 | const http = require('http');
2 |
3 | /**
4 | *
5 | * 创建 http 服务,简单返回
6 | */
7 |
8 | const server = http.createServer((req, res) => {
9 | res.write(`hello world, start with cluster ${process.pid}`);
10 |
11 | res.end();
12 | });
13 |
14 | /**
15 | *
16 | * 启动服务
17 | */
18 |
19 | server.listen(3000, () => {
20 | console.log('server start http://127.0.0.1:3000');
21 | });
22 |
23 | console.log(`Worker ${process.pid} started`);
24 |
--------------------------------------------------------------------------------
/js小工具demo/将文字复制到剪切板.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/URL相关/1.获取基础的url.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/1108.IP地址无效化/1108 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/js小工具demo/禁止类工具函数/禁止右键、选择、复制.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/js-实现原生api/ES5实现ES6的let和const/实现let.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/URL相关/2.检查url是否绝对的.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/css相关/有用的伪类/in-out-range.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
17 |
18 |
19 |
20 |
21 | 在input中输入一个值 (小于 5 或者 大于 10), 查看样式的变化。
22 |
23 |
24 |
--------------------------------------------------------------------------------
/237.删除链表中的节点/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/2413.最小偶倍数/2413 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/js小工具demo/合并/合并多个数组.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/1784.检查二进制字符串字段/1784 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/2236.判断根节点是否等于子节点之和/2236 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/js小工具demo/时间和日期相关/计算两个日期之间的天数.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/2683.相邻值的按位异或/2683 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/css相关/省略号动画/inline-table加动画实现.html:
--------------------------------------------------------------------------------
1 |
2 | 动态省略号
3 |
4 |
5 |
25 |
--------------------------------------------------------------------------------
/js-实现原生api/setTimeout、setInterval/setInterval实现setTimeout.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/js小工具demo/字符串类操作/字符和ASCII互相转换.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/2469.温度转换/2469 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/2446.判断两个事件是否存在冲突/2446 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/3227.字符串元音游戏/3227 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/js-实现原生api/JS模块化规范/commonjs/手写一个require,缓存问题/main.js:
--------------------------------------------------------------------------------
1 | // 使用原生的 require
2 | // let a = require('./index').a;
3 | // console.log('直接require的结果', a);
4 |
5 | // setTimeout(() => {
6 | // // require内部会有缓存,所以两次的值是一样的
7 | // let b = require('./index').a;
8 | // console.log('延迟导入后的结果', b);
9 | // }, 100);
10 |
11 | // 使用自己手写的 require
12 | let myRequire = require('./手写一个require加载器.js').myRequire;
13 | let a = myRequire('./index').a;
14 | console.log('直接require的结果', a);
15 |
16 | setTimeout(() => {
17 | // 会从缓存取上一次的值
18 | let b = myRequire('./index').a;
19 | console.log('延迟导入后的结果', b);
20 | }, 100);
--------------------------------------------------------------------------------
/2769.找出最大的可达成数字/2769 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "algorithms-js",
3 | "version": "1.0.0",
4 | "description": "LeetCode算法题的JS解法✏️📒",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "git+https://github.com/yllg/Algorithms-JS.git"
12 | },
13 | "author": "",
14 | "license": "ISC",
15 | "bugs": {
16 | "url": "https://github.com/yllg/Algorithms-JS/issues"
17 | },
18 | "homepage": "https://github.com/yllg/Algorithms-JS#readme",
19 | "devDependencies": {
20 | "koa": "^2.13.1"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/正则表达式/常见正则面试题/正则match和小括号使用注意点.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/2027.转换字符串的最少操作次数/2027 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/292.Nim游戏/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/js小工具demo/字符串类操作/截断字符串加省略号/结尾处截断并加省略号.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/js-实现原生api/ajax/原生ajax请求.js:
--------------------------------------------------------------------------------
1 | // 1.创建ajax对象
2 | const xhr = new XMLHttpRequest();
3 | // 2.open
4 | xhr.open("GET", url);
5 | // 3.设置请求头和响应类型
6 | xhr.setRequestHeader("Accept", "application/json");
7 | xhr.responseType = "json";
8 | // 4.接收返回值的回调
9 | xhr.onreadystatechange = () => {
10 | /**
11 | readyState:
12 | 0: 请求未初始化
13 | 1: 服务器连接已建立
14 | 2: 请求已接收
15 | 3: 请求处理中
16 | 4: 请求已完成,且响应已就绪
17 |
18 | status: HTTP 状态码
19 | **/
20 | if (xhr.readyState === 4 || xhr.status === 200) {
21 | console.log("结果", xhr.responseText);
22 | }
23 | };
24 | // 5.发送请求
25 | xhr.send();
26 |
27 | // 现在主要使用fetch、第三方的请求库,比如axios
28 |
--------------------------------------------------------------------------------
/css相关/两列布局/左侧定宽右侧自适应/2.浮动+calc.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/2582.递枕头/2582 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/css相关/省略号动画/伪类实现.html:
--------------------------------------------------------------------------------
1 |
2 | 动态省略号
3 |
4 |
5 |
36 |
--------------------------------------------------------------------------------
/js小工具demo/字符串类操作/大小写反转.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/js小工具demo/数字类操作/阶乘函数.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/1374.生成每种字符都是奇数个的字符串/1374 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/3131.找出与数组相加的整数I/3131 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/js小工具demo/DOM相关/获取dom元素的所有祖先.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/js小工具demo/数字类操作/判断非数字_isNaN.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/react相关/手写一个redux中间件.js:
--------------------------------------------------------------------------------
1 | const myMiddleware = (store) => (next) => (action) => {
2 | // 在这里你可以拿到 store.getState 和 store.dispatch
3 | // 注意如果你调用 store.dispatch,中间件又从新从最外层开始 如果不加限制条件将陷入死循环
4 | // do something
5 | next(action); // 进入下一个中间件,最后一个中间件的 next 参数为 redux 原生 dispatch
6 | // 返回继续执行这个中间件剩余部分
7 | };
8 |
9 | // 比如,写一个打印state的中间件,printStateMiddleware
10 | // 使用解构直接拿到getState
11 | const printStateMiddleware =
12 | ({ getState }) =>
13 | (next) =>
14 | (action) => {
15 | console.log("beforeState ->", getState());
16 | let returnValue = next(action);
17 | console.log("afterState ->", getState());
18 | return returnValue;
19 | };
20 |
--------------------------------------------------------------------------------
/2656.K个元素的最大和/2656 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/319.灯泡开关/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/2278.字母在字符串中的百分比/2278 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/3432.统计元素和的差值为偶数的分区方案数/3432 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/3110.字符串的分数/3110 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/js小工具demo/生成UUID.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/2651.计算列车到站时间/2651 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/css相关/三列布局/3.flex.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
29 |
30 |
31 | 左
32 | 中
33 | 右
34 |
35 |
36 |
--------------------------------------------------------------------------------
/js小工具demo/interval和repeat相关工具函数/生成重复的字符串.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2481.分隔圆的最少切割次数/2481 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/470.用rand7()实现rand10()/470 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/LCP06.拿硬币/拿硬币.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/css相关/两列布局/左侧定宽右侧自适应/4.margin-left.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/1753.移除石子的最大得分/1753 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/2485.找出中枢整数/2485 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/575.分果糖/575 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/js-实现原生api/数组类/实现数组push方法.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/1732.找到最高海拔/1732 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/3370.仅含置位位的最小整数/3370 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/1812.判断国际象棋棋盘中一个格子的颜色/1812 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/2331.计算布尔二叉树的值/2331 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/521.最长特殊序列I/521 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/js小工具demo/检查规则类/检查日期是否为周末、工作日.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/303.区域和检索-数组不可变/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/814.二叉树剪枝/814 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/2595.奇偶位数/2595 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/js小工具demo/数字类操作/摄氏度和华氏度转换.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/正则表达式/常见正则面试题/1.叠词数量.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/2974.最小数字游戏/2974 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/js-实现原生api/JSON相关/1.实现JSON.parse.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/2673.使二叉树所有路径值相等的最小代价/2673 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/754.到达终点数字/754 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/js小工具demo/DOM相关/处理元素外的点击事件.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 | my-element
10 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/2294.划分数组使最大差为K/2294 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/287.寻找重复数/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
--------------------------------------------------------------------------------
/css相关/两列布局/左侧由内容决定右侧补齐剩余空间/1.flex.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
28 |
29 |
30 |
31 | 左边内容左边内容左边内容左边内容
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/css相关/三列布局/4.grid.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
28 |
29 |
30 | 左
31 | 中
32 | 右
33 |
34 |
35 |
--------------------------------------------------------------------------------
/css相关/两列布局/左侧定宽右侧自适应/3.flex.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/二进制转字符串/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/2530.执行K次操作后的最大分数/2530 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/2716.最小化字符串长度/2716 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/3065.超过阈值的最少操作次数I/3065 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/933.最近请求次数/933 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/3340.检查平衡字符串/3340 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/344.反转字符串/344 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/769.最多能完成排序的块/769 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/1290.二进制链表转整数/1290 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/1822.数组元素积的符号/1822 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/3019.按键变更的次数/3019 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/js小工具demo/颜色工具/输出十六进制随机颜色/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/1281.整数的各位积和之差/1281 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2544.交替数字和/2544 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2789.合并后数组中的最大元素/2789 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/3487.删除后的最大子数组元素和/3487 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/!补充题 12.trim函数/trim函数.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
27 |
28 |
--------------------------------------------------------------------------------
/css相关/两列布局/左侧定宽右侧自适应/1.inline-block.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/2520.统计能整除数字的位数/2520 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/561.数组拆分 I /561 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/css相关/三列布局/2.table.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
34 |
35 |
36 | 左
37 | 中
38 | 右
39 |
40 |
41 |
--------------------------------------------------------------------------------
/js小工具demo/3.once函数.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/js小工具demo/字符串类操作/截断字符串加省略号/中间处截断并加省略号.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/1013.数组分成和相等的三个部分/1013 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/1758.生成交替二进制字符串的最少操作数/1758 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/2185.统计包含给定前缀的字符串/2185 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/263.丑数/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/371.不是用+-计算两整数之和/371 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/1038.从二叉搜索树到更大和树/1038 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/1317.将整数转换为两个无零整数的和/1317 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/2740.找出分区值/2740 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/2864.最大二进制奇数/2864 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/3330.找到初始输入字符串I/3330 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/js-实现原生api/JS模块化规范/commonjs/循环引用/main.js:
--------------------------------------------------------------------------------
1 | //main.js
2 | var a = require('./a');
3 | console.log(a);
4 |
5 | // 解析:
6 | // 1.执行 node main.js -> 第一行 require(a.js),(node 执行也可以理解为调用了require方法,我们省略require(main.js)内容)
7 | // 2.进入 require(a)方法: 判断缓存(无) -> 初始化一个 module -> 将 module 加入缓存 -> 执行模块 a.js 内容,(需要注意 是先加入缓存, 后执行模块内容)
8 | // 3.a.js: 第一行导出 a = 1 -> 第二行 require(b.js)(a 只执行了第一行)
9 | // 4.进入 require(b) 内 同 1 -> 执行模块 b.js 内容
10 | // 5.b.js: 第一行 b = 11 -> 第二行 require(a.js)
11 | // 6.require(a) 此时 a.js 是第二次调用 require -> 判断缓存(有)-> cachedModule.exports -> 回到 b.js(因为js对象引用问题 此时的 cachedModule.exports = { a: 1 })
12 | // 7.b.js:第三行 输出 { a: 1 } -> 第四行 修改 b = 22 -> 执行完毕回到 a.js
13 | // 8.a.js:第二行 require 完毕 获取到 b -> 第三行 输出 { b: 22 } -> 第四行 导出 a = 2 -> 执行完毕回到 main.js
14 | // 9.main.js:获取 a -> 第二行 输出 { a: 2 } -> 执行完毕
15 |
--------------------------------------------------------------------------------
/js小工具demo/cookies操作/cookies操作.js:
--------------------------------------------------------------------------------
1 | // 1.设置
2 | const setCookie = (key, value, expire) => {
3 | const d = new Date();
4 | d.setDate(d.getDate() + expire);
5 | document.cookie = `${key}=${value};expires=${d.toUTCString()}`;
6 | };
7 |
8 | // 2.获取
9 | const getCookie = (key) => {
10 | const cookieStr = unescape(document.cookie);
11 | const arr = cookieStr.split("; ");
12 | let cookieValue = "";
13 | for (let i = 0; i < arr.length; i++) {
14 | const temp = arr[i].split("=");
15 | if (temp[0] === key) {
16 | cookieValue = temp[1];
17 | break;
18 | }
19 | }
20 | return cookieValue;
21 | };
22 |
23 | // 3.删除
24 | const delCookie = (key) => {
25 | document.cookie = `${encodeURIComponent(key)}=;expires=${new Date()}`;
26 | };
--------------------------------------------------------------------------------
/1480.一维数组的动态和/1480 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/2255.统计是给定字符串前缀的字符串数目/2255 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2535.数组元素和与数字和的绝度差/2535 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/2938.区分黑球与白球/2938 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/css相关/css实现输入错误时抖动效果/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
33 |
34 |
35 | 输入非字母,会抖动
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/正则表达式/常见正则面试题/多个空格转成一个空格,各种正则性能对比.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/比较两个字符串,标记出增删改的位置/比较两个字符串,标记出增删改的位置改的位置.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
12 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/2455.可被三整除的偶数的平均值/2455 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/2951.找出峰值/2951 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/js小工具demo/DOM相关/判断一个元素是否包含另一个元素.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/1911.最大子序列交替和/1911 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/2341.数组能形成多少数对/2341 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/3046.分割数组/3046 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/342.4的幂/342 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/3423.循环数组中相邻元素的最大差值/3423 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/css相关/毛玻璃效果/backdrop-fit属性.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
20 |
21 |
22 |
23 |
24 | //由于类名为 top 的 div 盒子绝对定位,脱离文档流,同时层级提升,因此 div 盒子的层级高于 p 段落的层级,
25 | //div 盒子会将 p 元素覆盖,位于 p 元素的上方,p 标签中的文字位于 div 盒子后方,在 div 盒子添加 backdrop:blur(3px)后,文字也就变模糊了
26 |
best wish for you
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/js小工具demo/时间和日期相关/给定起止日期返回中间所有月份.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/!补充题48.打开任意网页用JS打印所有s和h开头的标签并计数/打开任意网页用JS打印所有s和h开头的标签并计数.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/1619.删除某些元素后的数组均值/1619 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/3185.构成整天的下标对数目II/3185 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/js-实现原生api/数字类/实现数字相乘.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/1003.检查替换后的词是否有效/1003 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/2395.和相等的子数组/2395 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/3038.相同分数的最大操作数目I/3038 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/3101.交替子数组计数/3101 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/3255.长度为K的子数组的能量值II/3255 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/3392.统计符合条件长度为 3 的子数组数目/3392 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/剑指offerII 041.滑动窗口的平均值/滑动窗口的平均值.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/1827.最少操作使数组递增/1827 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2315.统计星号/2315 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/2390.从字符串中移除星号/2390 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/2575.找出字符串的可整除数组/2575 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/3174.清除数字/3174 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/!补充题 3.计算字符串字节数/计算字节长度.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/1785.构成特定和需要添加的最少元素/1785 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
12 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2678.老人的数目/2678 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/3516.找到最近的人/3516 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/453.最小操作次数使数组元素相等/453 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
29 |
30 |
31 | l
--------------------------------------------------------------------------------
/976.三角形最大周长/976 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/css相关/两列布局/左侧由内容决定右侧补齐剩余空间/2.grid.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
27 |
28 |
29 |
30 | 左边内容
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/050.实现幂函数/050 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/1217.玩筹码/1217 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/2145.统计隐藏数组数目/2145 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2335.装满杯子需要的最短时长/2335 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/2798.满足目标工作时长的员工数目/2798 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/3304.找出第K个字符I/3304 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/459.是否由子串重复多次构成/459 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/492.构造矩形/492 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/css相关/两列布局/左侧由内容决定右侧补齐剩余空间/3.浮动+bfc.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
31 |
32 |
33 |
34 | 左边内容
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/2364.统计坏数对的数目/2364 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2942.查找包含给定字符串的单词/2942 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/3375.使数组的值全部为 K 的最少操作次数/3375 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/js-实现原生api/数组类/实现数组find.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/169.求众数,出现次数超过2分之n的第一个元素/169 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
31 |
32 |
--------------------------------------------------------------------------------
/908.最小差值I/908 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
12 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/1800.最大升序子数组和/1800 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/1877.数组中最大数对和的最小值/1877 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2578.最小和分割/2578 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/2917.找出数组中的k-or值/2917 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/3194.最小元素和最大元素的最小平均值/3194 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/!补充题23.删除重复节点/删除重复节点.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/2828.判别首字母缩略词/2828 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/989.数组形式的整数加法/989 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/1018.可被5整除的二进制前缀/1018 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/2923.找到冠军I/2923 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/js-实现原生api/数字类/实现数字相加.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/js小工具demo/函数只能执行一次/函数只能执行一次.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/1441.用栈操作来构建数组/1441 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/1963.使字符串平衡的最小交换次数/1963 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/2465.不同的平均值数目/2465 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/3184.构成整天的下标对数目I/3184 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/326.3的幂/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/434.字符串中的单词数/434 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/124.二叉树中最大路径和/124 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/1375.二进制字符串中前缀一致的次数/1375 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/1720.解码异或后的数组/1720 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/2037.使每位学生都有座位的最少移动次数/2037 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/2129.将标题首字母大写/2129 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/3158.求出出现两次数字的XOR值/3158 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/901.股票价格跨度/901 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/js小工具demo/禁止类工具函数/禁止某些键盘事件.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/1186.删除一次得到子数组最大和/1186 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/1470.重新排列数组/1470 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/746.使用最小花费爬楼梯/746 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/js-实现原生api/数组类/实现数组findIndex.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/js小工具demo/随机/随机生成/数字/在min、max范围内生成随机数.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/069.求平方根/069 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/1448.统计二叉树中好节点的数量/1448 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/1798.你能构造出连续值的最大数量/1798 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/1845.座位预约管理系统/1845 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/2588.统计美丽子数组数目/2588 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/714.买卖股票的最佳时机+有手续费/714 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/js-实现原生api/1.实现instanceof.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/js小工具demo/字符串类操作/判断不能有相同长度超过2的子串重复.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/1598.文件夹操作日志搜集器/1598 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/2125.银行中的激光束数量/2125 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/2221.数组的三角和/2221 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/2562.找出数组的串联值/2562 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/674.最长连续递增序列/674 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/js小工具demo/衡量函数的性能/衡量函数的性能.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/nodejs相关/node-cluster/pm2.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | apps: [
3 | {
4 | name: 'nodejs-column', // 启动进程名
5 | script: './app.js', // 启动文件
6 | instances: 2, // 启动进程数
7 | exec_mode: 'cluster', // 多进程多实例
8 | env_development: {
9 | NODE_ENV: 'development',
10 | watch: true, // 开发环境使用 true,其他必须设置为 false
11 | },
12 | env_testing: {
13 | NODE_ENV: 'testing',
14 | watch: false, // 开发环境使用 true,其他必须设置为 false
15 | },
16 | env_production: {
17 | NODE_ENV: 'production',
18 | watch: false, // 开发环境使用 true,其他必须设置为 false
19 | },
20 | log_date_format: 'YYYY-MM-DD HH:mm Z',
21 | error_file: '~/data/err.log', // 错误日志文件,必须设置在项目外的目录,这里为了测试
22 | out_file: '~/data/info.log', // 流水日志,包括 console.log 日志,必须设置在项目外的目录,这里为了测试
23 | max_restarts: 10,
24 | },
25 | ],
26 | };
27 |
--------------------------------------------------------------------------------
/常见手写题/变量提升和作用域.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/js小工具demo/网络请求相关/fetch网络请求自动重试retry.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Document
9 |
10 |
11 |
12 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/1044.最长重复子串/1044 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/1250.检查好数组/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/1637.两点之间不包含任何点的最宽垂直区域/1637 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/2171.拿出最少数目的魔法豆/2171 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/3274.检查棋盘方格颜色是否相同/3274 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/724.寻找数组的中心索引/724 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/js小工具demo/如何找到当前页面出现次数最多的html标签.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/1780.判断一个数是否可以表示成三的幂的和/1780 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/2834.找出美丽数组的最小和/2834 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/3146.两个字符串的排列差/3146 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/891.子序列宽度之和/891 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/899.有序队列/899 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/css相关/三列布局/1.float.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/1026.节点与其组先之间的最大差值/1026 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/3096.得到更多分数的最少关卡数目/3096 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/942.增减字符串匹配/942 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/1446.连续字符/1446 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/1561.你可以获得的最大硬币数目/1561 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/258.各位相加/solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/3206.交替组I/3206 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/js小工具demo/添加默认值或报错提示/添加默认值或报错提示.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/1672.最富有客户的资产总量/1672 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/1984.学生分数的最小差值/1984 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
11 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/2011.执行操作后的变量值/2011 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Document
8 |
9 |
10 |
30 |
31 |
32 | l
33 |
--------------------------------------------------------------------------------
/2414.最长的字母序连续子字符串的长度/2414 solution.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Document
7 |
8 |
9 |
31 |
32 |
33 |
--------------------------------------------------------------------------------