TikTok Interview Question

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