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

增加二分查找 mid 的取值方法说明和更新,避免极端情况下类型溢出 #35

Open
wants to merge 3 commits into
base: master
from

Conversation

@nesger
Copy link

@nesger nesger commented May 13, 2020

当 left 和 right 接近于 int 的最大值时,(left + right) 可能发生类型溢出

@Blankj Blankj force-pushed the Blankj:master branch from 3f5fb9c to c781c49 Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.