提交 deeac5a7 编写于 作者: L luzhipeng

fix: typo

上级 b159f16f
...@@ -73,7 +73,7 @@ DP 的代码见代码区。 ...@@ -73,7 +73,7 @@ DP 的代码见代码区。
我的做法是 key 就是 n,value 是以 n 为起点,到达底端的深度。 我的做法是 key 就是 n,value 是以 n 为起点,到达底端的深度。
下次取出缓存的时候用当前的 level + 存的深度 就是我们想要的 level. 下次取出缓存的时候用当前的 level + 存的深度 就是我们想要的 level.
- 使用递归的核心点还是选和不选的问题 - 使用动态规划的核心点还是选和不选的问题
```js ```js
for (let i = 1; i <= n; i++) { for (let i = 1; i <= n; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册