In this article, we present the bubble sort and merge sort algorithms. We discuss the cycle counts of these algorithms on the Blackfin processor, and show how to reduce the cycle count of the bubble ...
データの並べ替え(ソート)を行うアルゴリズムは複数存在し、その並べ替え方法によって平均的な処理時間等が大きく異なります。こうしたソートアルゴリズムをウェブサイト上でシミュレートできる「Visual Sorting/The Sound Of Sorting」が公開されています。
「データ構造とアルゴリズム」 という大きなテーマの中から、 次の4つのトピックをとりあげています。 配列とコレクション ソート サーチ 再帰 今回はその第2回目として 「ソート」 を学習します。前回の 「配列とコレクション」 で数多くのデータを ...