December 2016

Hey interwebs! This is your homework: Given an array A[n]={25,72,30,45,20,15,6,50}, sort its values, acending. Reference: The sorting algorithm in sample code below is called bubble sort. Original sorting code cited from Alex Allain. But anyway, there are many kinds of sorting algos other than bubble sort that you can use for this homework.

 

Read More Sorting an array