Question d’entretien chez Scott Logic

Identify an algorithm from a printout and suggest improvements - bubble sort