Pregunta de entrevista de Infosys

Explain bubble sort in programming.