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

bugs find #48

Open
MingPap opened this issue Apr 12, 2019 · 2 comments
Open

bugs find #48

MingPap opened this issue Apr 12, 2019 · 2 comments

Comments

@MingPap
Copy link

MingPap commented Apr 12, 2019

只检测出了第一个重复数字,请问怎么判定第二个重复数字4呢?

@xiaoCD
Copy link

xiaoCD commented Jan 28, 2020

题目要求是找到即可,如果要继续找,我认为将找到的放到临时数组存放后,将return true;这个结束条件改为continue;继续循环寻找即可。

@xiaoCD
Copy link

xiaoCD commented Jan 28, 2020

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