Infosys interview question

Write code of Bubble sort