Analog Devices Interview Question

write a pseudocode for selection sort