Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6vDJ5fWY5uEZaJFNi
18 lines
464 B
Plaintext
18 lines
464 B
Plaintext
java download/MergeSort.java, with two inputs typed in
|
|
======================================================
|
|
|
|
typed: 5 38 27 43 3 9
|
|
Number of elements: Elements:
|
|
Input: [38, 27, 43, 3, 9]
|
|
Top-down: [3, 9, 27, 38, 43]
|
|
Bottom-up: [3, 9, 27, 38, 43]
|
|
Inversions: 7
|
|
|
|
typed: 7 38 27 43 3 9 82 10
|
|
Number of elements: Elements:
|
|
Input: [38, 27, 43, 3, 9, 82, 10]
|
|
Top-down: [3, 9, 10, 27, 38, 43, 82]
|
|
Bottom-up: [3, 9, 10, 27, 38, 43, 82]
|
|
Inversions: 11
|
|
|