Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Feb 20, 2017

一个数组有 n 个数字,仅需冒泡 n-1 轮即可得到最终排序 (也可理解为每次”沉底“一个最大值,仅需”沉底“ n-1 次)

@hustcc
Copy link
Owner

hustcc commented Feb 21, 2017

感谢~

@hustcc hustcc merged commit b8c5e86 into hustcc:master Feb 21, 2017
idsbllp pushed a commit to idsbllp/JS-Sorting-Algorithm that referenced this pull request May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants