Question d’entretien chez Amazon

Algorithm: How does bubble sort work?