eli*_*uez 1 windows sorting algorithm
任何人都知道有什么程序可以定义输入集合,并且可以逐步可视化排序算法(冒泡、快速、shell 等)
\n\n因此一些
\n\n1th iteration result: [3, 5, 7, 1, 8, 9]\n2th iteration result: [3, 5, 1, 7, 8, 9]\n3th iteration result: [3, 1, 5, 7, 8, 9]\n4th iteration result: [1, 3, 5, 7, 8, 9]\n5th iteration result: [1, 3, 5, 7, 8, 9]\n\xc2\xa0\nFinal result: [1, 3, 5, 7, 8, 9]\nRun Code Online (Sandbox Code Playgroud)\n
没有什么比这个匈牙利民间舞蹈团更能解释不同的排序算法了:
But if you prefer a bit more formal approach I recommend you this site:
http://www.bluffton.edu/~nesterd/java/SortingDemo.html
You can choose different sorting algorithms, number and type of elements to sort and also different data sequences: random, ordered, reversed etc. You can't enter your own data there but I don't think that not using your own sequence of numbers could hinder the ability to understand the concept :)
| 归档时间: |
|
| 查看次数: |
6017 次 |
| 最近记录: |