| OLD | NEW |
| (Empty) | |
| 1 Test List API. |
| 2 Adding 0, 1, 2 |
| 3 Replaced [] at index 0 with [0, 1, 2] |
| 4 Resulting list: [0, 1, 2] |
| 5 |
| 6 Replacing 0 with 5, 6, 7 |
| 7 Replaced [0] at index 0 with [5, 6, 7] |
| 8 Resulting list: [5, 6, 7, 1, 2] |
| 9 |
| 10 Pushing 10 |
| 11 Replaced [] at index 5 with [10] |
| 12 Resulting list: [5, 6, 7, 1, 2, 10] |
| 13 |
| 14 Popping 10 |
| 15 Replaced [10] at index 5 with [] |
| 16 Resulting list: [5, 6, 7, 1, 2] |
| 17 |
| 18 Removing 2 |
| 19 Replaced [2] at index 4 with [] |
| 20 Resulting list: [5, 6, 7, 1] |
| 21 |
| 22 Inserting 8 |
| 23 Replaced [] at index 1 with [8] |
| 24 Resulting list: [5, 8, 6, 7, 1] |
| 25 |
| 26 Replacing with 0...20 |
| 27 Replaced [5, 8, 6, 7, 1] at index 0 with [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
12, 13, 14, 15, 16, 17, 18, 19] |
| 28 Resulting list: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 1
8, 19] |
| 29 |
| 30 Replacing 7 with 27 |
| 31 Replaced [7] at index 7 with [27] |
| 32 Resulting list: [0, 1, 2, 3, 4, 5, 6, 27, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
18, 19] |
| 33 |
| 34 Replacing 18, 19 with 28, 29 |
| 35 Replaced [18, 19] at index 18 with [28, 29] |
| 36 Resulting list: [0, 1, 2, 3, 4, 5, 6, 27, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
28, 29] |
| 37 |
| 38 Replacing 1, 2, 3 with [31-43] |
| 39 Replaced [1, 2, 3] at index 1 with [31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
42, 43] |
| 40 Resulting list: [0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 4, 5, 6,
27, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 28, 29] |
| 41 |
| 42 Replacing all but 29 with [] |
| 43 Replaced [0, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 4, 5, 6, 27, 8,
9, 10, 11, 12, 13, 14, 15, 16, 17, 28] at index 0 with [] |
| 44 Resulting list: [29] |
| 45 |
| 46 |
| OLD | NEW |