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

冒泡排序代码j的上界错了 #37

Open
Xiaoven opened this issue Jun 26, 2020 · 2 comments
Open

冒泡排序代码j的上界错了 #37

Xiaoven opened this issue Jun 26, 2020 · 2 comments

Comments

@Xiaoven
Copy link

Xiaoven commented Jun 26, 2020

source/basic/algo/Sorting.md

目前是

for (var j = 0; j < array.Length - 1; j++)

但应该是

for (var j = 0; j < array.Length - 1-i; j++)

@Xiaoven
Copy link
Author

Xiaoven commented Jun 26, 2020

这份总结内容和框架挺好的,如果作者们能核对一下代码实现就更好了:)

@skyline75489
Copy link
Contributor

作者们都天天上班没时间了。。欢迎 PR 😄

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