Cognizant Interview Question

Code for bubble sort ?