Question d’entretien chez Virtusa

Explain bubble sort algorithm with example.