Domanda di colloquio di WebMD Health

question on bubble sort was asked