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 ...
The steps for quick sorting are as follows: First, select an appropriate value (pivot) from the data. In the following example, the value with the diagonal line is the pivot. Each data point is ...
Sorting. It’s a classic problem that’s been studied for decades, and it’s a great first step towards “thinking algorithmically.” Over the years, a handful of sorting algorithms have emerged, each ...