알고리즘

[Introduction to Algorithms, CLRS] Exercises 2.1-1

nevermet 2017. 8. 28. 18:40

This is a solution for Introduction to Algorithms. I write this for my study purpose.


Excercises 2.1-1 Using Figure 2.2 as a model, illustrate the operation of INSERTION-SORT on the array A = {31, 41, 59, 26, 41, 58}.


Answer: