Accenture Interview Question

sort an array using bubble sort