Question d’entretien chez TikTok

Giving 4 pseudocode and asking which one represents which type of sorting algorithm