Infosys Interview Question

bubble sort