Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.2 Remove Duplicates from Sorted Array II #56

Open
ByzanTine opened this issue Feb 23, 2015 · 3 comments
Open

2.1.2 Remove Duplicates from Sorted Array II #56

ByzanTine opened this issue Feb 23, 2015 · 3 comments

Comments

@ByzanTine
Copy link

Code 2: There isn't any occur variable in this solution. I am confused by what you are talking about.

@vendisky
Copy link

= =
其实soulmachine同学的意思是,上面的代码1,把所有出现的2,改为3,就能解决最多允许3个重复了

@ByzanTine
Copy link
Author

Yeah, it certainly make sense, but I think it's better to explicitly declare the occur variable and move this part of comment on code 1.
Thanks for the clarification anyway.

@vendisky
Copy link

Exactly. The work of soulmachine is brilliant. Nevertheless, we readers should help him to correct some small mistakes.

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

No branches or pull requests

2 participants