
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
algorithms-training
Advanced tools
这是一个用来算法训练的玩具
安装
npm i algorithms-training
使用
import {
reverseWords,
} from 'algorithms-training'
console.log(reverseWords(`Let's take LeetCode contest`))
思路
图谱
`0011`0011
↑
0`01`10011
↑
00`1100`11
↑
001`10`011
↑
0011`0011`
↑
00110`01`1
↑
具有相同数量的连续0和1
知识点
思路
知识点
数学建模意识(种或者没种抽象成 0 或者 1)
知识点
找规律:
输入:1
输出:
0
1
输入:2
输出:
00
01
11
10
输入:3
输出:
000
001
011
010
110
111
101
100
输入:3 与上一次 输入:2 有关系输入:2 与上一次 输入:1 有关系算法的本质是寻找规律并实现
发现输入与输出的关系,寻找突破点
实现是程序+数据结构的结合体
FAQs
[leetcode 解题之路](https://github.com/azl397985856/leetcode)
We found that algorithms-training demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.