We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// 取p到r之间的中间位置q,防止(p+r)的和超过int类型最大值 int q = p + (r - p)/2;
这也太牛逼了吧,这都想的到!!
The text was updated successfully, but these errors were encountered:
看到二分查找那一节,/2还可以优化成位运算>>1
Sorry, something went wrong.
No branches or pull requests
这也太牛逼了吧,这都想的到!!
The text was updated successfully, but these errors were encountered: