HCLTech interview question

Write a bubble sort alogrotihm