Files
java-interview-lab/merge-sort/output/08-brute-force.txt
T

10 lines
509 B
Plaintext

Cross-checks against Arrays.sort and the O(n^2) inversion definition
====================================================================
every array of length 0..8 over 5 values: 488,281 arrays
random arrays, length 0..199 (seed 2026): 20,000 arrays
each checked: top-down, bottom-up, skip-sorted, linked list (top-down), linked list (bottom-up), inversion count
disagreements: 0
stability, records with 5 distinct keys: 5,000 arrays, same object order as Arrays.sort(T[], Comparator): 0 disagreements