TikTok interview question

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