Cognizant interview question

Code for bubble sort ?