Infosys interview question

Write down the code for bubble sort?