OfBusiness Interview Question

Sorting of an array using loops