闪烁之狐
删除链表的倒数第N个节点-19 删除链表的倒数第N个节点-19
力扣(LeetCode) 链接:https://leetcode.cn/problems/remove-nth-node-from-end-of-list/discussion/ var removeNthFromEnd = functio
2023-05-24 高红翔
链表的中间结点-876 链表的中间结点-876
力扣(LeetCode) 链接:https://leetcode.cn/problems/middle-of-the-linked-list/discussion/ var middleNode = function (head)
2023-05-24
删除数组中的重复项-26 删除数组中的重复项-26
力扣(LeetCode) 链接:https://leetcode.cn/problems/remove-duplicates-from-sorted-array/discussion/ var removeDuplicates = func
2023-05-24
移动零 移动零
力扣(LeetCode) 链接:https://leetcode.cn/problems/move-zeroes/ var moveZeroes = function (nums) { let slow = 0 let f
2023-05-24
移动元素-283 移动元素-283
力扣(LeetCode) 链接:https://leetcode.cn/problems/remove-element/ function removeElement(nums, val) { let slow = 0 l
2023-05-24
JS输出 JS输出
题目输出是什么 const arr = [1, 2, 3] async function wait(time) { return new Promise((res, rej) => { setTimeout(
2023-05-10
Docker镜像和容器 Docker镜像和容器
1. image 镜像 命令 含义 语法 案例 ls 查看全部镜像 docker image ls search 查找镜像 docker search [imageName] history 查看镜像历史 docker
2023-05-09
JS输出 JS输出
题目输出是什么 // 1. var a = 1 if (true) { console.log(a) // 1 var a = 2 } // 2. var a = 1 if (true) { con
2023-05-08
JS输出 JS输出
题目输出是什么 var a = { n: 1 } var b = a a.x = a = { n: 2 } console.log(a.n, b.n) console.log(a.x, b.x) 考
2023-05-08
制作Dockerfile 制作Dockerfile
制作 Dockerfilehttps://docs.docker.com/engine/reference/commandline/build/ Docker 的镜像是用一层一层的文件组成的 Layers 就是镜像的层文件,只读不能修改。
2023-05-06
nginx配置案例 nginx配置案例
nginx 配置案例案例 1 #user nobody; # 运行用户(启动者用户名),默认即是nginx,可以不进行设置 worker_processes 4;#工作进程数,一般和CPU数量相同 worker_rlimit_nofi
2023-04-25
nginx整体入门 nginx整体入门
nginx 常用命令nginx -s reload # 向主进程发送信号,重新加载配置文件,热重启 nginx -s reopen # 重启 Nginx nginx -s stop # 快速关闭 nginx -s quit #
2023-04-25
8 / 11