Question d’entretien chez Fidelity Investments

how would you implement bubble sort