1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| [8, 7, 6, 5, 4, 3, 2, 1] 4: 3 compore 7 -> [8, 7, 6, 5, 4, 3, 2, 1] 4: 2 compore 6 -> [8, 7, 6, 5, 4, 3, 2, 1] 4: 1 compore 5 -> [8, 7, 6, 5, 4, 3, 2, 1] 4: 4 compore 8 -> [4, 7, 6, 5, 8, 3, 2, 1] 4: 3 compore 7 -> [4, 3, 6, 5, 8, 7, 2, 1] 4: 3 compore 7 -> [4, 7, 6, 5, 8, 3, 2, 1] 4: 2 compore 6 -> [4, 7, 2, 5, 8, 3, 6, 1] 4: 2 compore 6 -> [4, 7, 6, 5, 8, 3, 2, 1] 4: 1 compore 5 -> [4, 7, 6, 1, 8, 3, 2, 5] 4: 1 compore 5 -> [4, 7, 6, 5, 8, 3, 2, 1] 1: 4 compore 7 -> [4, 7, 6, 5, 8, 3, 2, 1] 1: 6 compore 7 -> [4, 6, 7, 5, 8, 3, 2, 1] 1: 4 compore 6 -> [4, 6, 7, 5, 8, 3, 2, 1] 1: 5 compore 7 -> [4, 6, 5, 7, 8, 3, 2, 1] 1: 5 compore 6 -> [4, 5, 6, 7, 8, 3, 2, 1] 1: 4 compore 5 -> [4, 5, 6, 7, 8, 3, 2, 1] 1: 7 compore 8 -> [4, 5, 6, 7, 8, 3, 2, 1] 1: 6 compore 7 -> [4, 5, 6, 7, 8, 3, 2, 1] 1: 5 compore 6 -> [4, 5, 6, 7, 8, 3, 2, 1] 1: 4 compore 5 -> [4, 5, 6, 7, 8, 3, 2, 1] 1: 3 compore 8 -> [4, 5, 6, 7, 3, 8, 2, 1] 1: 3 compore 7 -> [4, 5, 6, 3, 7, 8, 2, 1] 1: 3 compore 6 -> [4, 5, 3, 6, 7, 8, 2, 1] 1: 3 compore 5 -> [4, 3, 5, 6, 7, 8, 2, 1] 1: 3 compore 4 -> [3, 4, 5, 6, 7, 8, 2, 1] 1: 2 compore 8 -> [3, 4, 5, 6, 7, 2, 8, 1] 1: 2 compore 7 -> [3, 4, 5, 6, 2, 7, 8, 1] 1: 2 compore 6 -> [3, 4, 5, 2, 6, 7, 8, 1] 1: 2 compore 5 -> [3, 4, 2, 5, 6, 7, 8, 1] 1: 2 compore 4 -> [3, 2, 4, 5, 6, 7, 8, 1] 1: 2 compore 3 -> [2, 3, 4, 5, 6, 7, 8, 1] 1: 1 compore 8 -> [2, 3, 4, 5, 6, 7, 1, 8] 1: 1 compore 7 -> [2, 3, 4, 5, 6, 1, 7, 8] 1: 1 compore 6 -> [2, 3, 4, 5, 1, 6, 7, 8] 1: 1 compore 5 -> [2, 3, 4, 1, 5, 6, 7, 8] 1: 1 compore 4 -> [2, 3, 1, 4, 5, 6, 7, 8] 1: 1 compore 3 -> [2, 1, 3, 4, 5, 6, 7, 8] 1: 1 compore 2 -> [1, 2, 3, 4, 5, 6, 7, 8]
|