-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
百度3.4.8 #74
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1.建立一个键值对
2.遍历数组
3.每次读到一个数
3.1如键值对为空,则填入这个数及值1
3.2如数与键相同,则值加1
3.3如键与数不同,则值减1,当值为0时清除键
4.可运行到数组结尾,也可判断当值大于等于数组剩余未遍历元素个数的二分之一时退出
The text was updated successfully, but these errors were encountered: