Question d’entretien chez Unthinkable

Interview- Bubble sort, basic puzzle from gfg