Cognizant Interview Question

Write a code on bubble Sort