題組內容

6. Suppose that we are to sort a list of 10 records with keys (25, 4, 36, 1, 63, 14, 58, 17, 49, 19). The function shown below is a sorting scheme to sort a list into ascending order.

(a) Which sorting scheme is used here to sort the list? (5%)