Visa Inc. Interview Question

Write the algorithm for bubble sort