Pregunta de entrevista de Tata Consultancy Services

3)Write the algorithm for bubble sort.