WebMD Health Interview Question

Sorting array using bubble sort