Pergunta de entrevista da empresa TikTok

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