Bubble_sort
#include <algorithm>
// bubble_sort(array, 0, ARRAY_SIZE – 1);
void bubble_sort(int ar[], int start, int end)
{
for(int i = end; i > start; i–)
for(int j = start; j < i; j++)
if(ar[j] > [...]
Filed under: Tips | Tagged: sort | Leave a Comment »