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

3.1.1 数据集合排序 #86

Open
green961 opened this issue Sep 23, 2021 · 0 comments
Open

3.1.1 数据集合排序 #86

green961 opened this issue Sep 23, 2021 · 0 comments

Comments

@green961
Copy link

// 如果 i 索引的数据小于 j 索引的数据,返回 true,且不会调用下面的 Swap(),即数据升序排序。
Less(i, j int) bool
i 索引是后面的位置, 正是此时调用 Swap

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

1 participant