Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@waningflow
Copy link
Contributor

修复一些错误

@azl397985856
Copy link
Owner

不好意思。 这个地方是没有错的。

你注意看下我的i代表的意思, i 并不是和 nums的索引一致的, i - 2才是nums的索引

@waningflow
Copy link
Contributor Author

waningflow commented Aug 16, 2019

你说的意思我知道,但是那是在后面代码里面才用到的一个trick,这里你这样写的话其实ii的含义还不一样,所以单就状态转移方程来说还是应该去掉-2,免得有同学还没看到后面的的时候觉得很奇怪,对吧。

@azl397985856
Copy link
Owner

你说的意思我知道,但是那是在后面代码里面才用到的一个trick,这里你这样写的话其实ii的含义还不一样,所以单就状态转移方程来说还是应该去掉-2,免得有同学还没看到后面的的时候觉得很奇怪,对吧。

还是不建议改成i, 但是倒是可以加一些解释

@waningflow
Copy link
Contributor Author

嗯,赞同

@azl397985856
Copy link
Owner

嗯,赞同

那你修改下reopen吧

@waningflow
Copy link
Contributor Author

我好像没有reopen的权限

@azl397985856 azl397985856 reopened this Aug 16, 2019
@azl397985856
Copy link
Owner

我好像没有reopen的权限

好了

@waningflow waningflow changed the title Update 198.house-robber.md feat: add some notes in 198.house-robber.md Aug 16, 2019
@waningflow
Copy link
Contributor Author

好了,麻烦抽空看下

@azl397985856 azl397985856 merged commit a7191a8 into azl397985856:master Aug 16, 2019
@waningflow waningflow deleted the patch-1 branch August 16, 2019 06:14
azl397985856 pushed a commit that referenced this pull request Aug 19, 2023
* Update 198.house-robber.md

* Update 198.house-robber.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants