Cognizant interview question

Bubble sort Program