[90, 35, 58, 53, 77, 77, 103]
Partitions: 4
Factor(m+1): 3
Minimum Length: 1
Max: 2 | Counter: 3 | List Length: 7
Max: 2 | Counter: 2 | List Length: 7
Max: 2 | Counter: 1 | List Length: 7
Max: 1 | Counter: 0 | List Length: 7
Whole List: [90, 35, 58, 53, 77, 77, 103]
Subarray: [[90, 35], [58, 53], [77, 77], [103]]
Partitions: 2
Factor(m+1): 2
Minimum Length: 0
Max: 1 | Counter: 2 | List Length: 2
Max: 1 | Counter: 1 | List Length: 2
Whole List: [90, 35]
Subarray: [[90], [35]]
Sackfressenliste: [90] [35]
Liste: [90, 35]
Hey Bud!
Left Bound: 1 | Right Bound: 1
List at Merge Begin: [90, 35] | Subarray Left: [90] | Subarray Right: [35]
Go Else | [35, 35]
Subarray: [35, 90]
Partitions: 2
Factor(m+1): 2
Minimum Length: 0
Max: 1 | Counter: 2 | List Length: 2
Max: 1 | Counter: 1 | List Length: 2
Whole List: [58, 53]
Subarray: [[58], [53]]
Sackfressenliste: [58] [53]
Liste: [58, 53]
Hey Bud!
Left Bound: 1 | Right Bound: 1
List at Merge Begin: [58, 53] | Subarray Left: [58] | Subarray Right: [53]
Go Else | [53, 53]
Subarray: [53, 58]
Partitions: 2
Factor(m+1): 2
Minimum Length: 0
Max: 1 | Counter: 2 | List Length: 2
Max: 1 | Counter: 1 | List Length: 2
Whole List: [77, 77]
Subarray: [[77], [77]]
Sackfressenliste: [77] [77]
Liste: [77, 77]
Hey Bud!
Left Bound: 1 | Right Bound: 1
List at Merge Begin: [77, 77] | Subarray Left: [77] | Subarray Right: [77]
Go IF | [77, 77]
Subarray: [77, 77]
Sackfressenliste: [35, 90] [53, 58]
Liste: [90, 35, 58, 53, 77, 77, 103]
Hey Bud!
Left Bound: 3 | Right Bound: 4
List at Merge Begin: [90, 35, 58, 53, 77, 77, 103] | Subarray Left: [35, 90] | Subarray Right: [53, 58] // <---
Go IF | [35, 35, 58, 53, 77, 77, 103] // <----
Go Else | [35, 53, 58, 53, 77, 77, 103] // <---
Go Else | [35, 53, 58, 53, 77, 77, 103] // <----
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 2 out of bounds for length 2
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:458)
at TWayMergeSort.merge(TWayMergeSort.java:64)
at TWayMergeSort.sort(TWayMergeSort.java:54)
at TestTMerge.main(TestTMerge.java:11)