
below are pseudo code on page 31
![INSERTION-SORT (A) 1 for j2 to A.length 2 3 4. 5 while i > 0 and A[i] > key 2keyAj] И Însert A01 into the sorted sequence A[1](https://media.cheggcdn.com/media%2Fc5c%2Fc5c59c93-ffa1-413a-8d47-949c9604e6eb%2FphpWmjULx.png)
![MERGE-SorT(A, p,r) q = L(p + r)/2] 3 MERGE-SORT(A, p,q) 4 5 MERGE(A, p,q,r) 4MERGE-SORT(A,q 1,r)](https://media.cheggcdn.com/media%2F268%2F2683b090-b9c5-44fa-97d3-d9569236f102%2FphpDWr16n.png)
5, (20%) Java coding practice: Convert the pseudo codes of the INSERTION-SORT(A) algorithm on page 18 and pseudo codes of
PayPal Gateway not configured
PayPal Gateway not configured

below are pseudo code on page 31
![INSERTION-SORT (A) 1 for j2 to A.length 2 3 4. 5 while i > 0 and A[i] > key 2keyAj] И Însert A01 into the sorted sequence A[1](https://media.cheggcdn.com/media%2Fc5c%2Fc5c59c93-ffa1-413a-8d47-949c9604e6eb%2FphpWmjULx.png)
![MERGE-SorT(A, p,r) q = L(p + r)/2] 3 MERGE-SORT(A, p,q) 4 5 MERGE(A, p,q,r) 4MERGE-SORT(A,q 1,r)](https://media.cheggcdn.com/media%2F268%2F2683b090-b9c5-44fa-97d3-d9569236f102%2FphpDWr16n.png)
5, (20%) Java coding practice: Convert the pseudo codes of the INSERTION-SORT(A) algorithm on page 18 and pseudo codes of
PayPal Gateway not configured
PayPal Gateway not configured