(For the future readers, I'm looking at commit 6285bfa)
When n=1, in the Algorithm 3.2 Odd-Even Merge Sort, it is not clear how the function call works.
Line 4, 5 should be ignored because the lengths of the arguments are less than 2.
Then the resulting sequence (line 8) is not correct. A counterexample is shown below.
(For the future readers, I'm looking at commit 6285bfa) When n=1, in the Algorithm 3.2 Odd-Even Merge Sort, it is not clear how the function call works. Line 4, 5 should be ignored because the lengths of the arguments are less than 2. Then the resulting sequence (line 8) is not correct. A counterexample is shown below.
Could someone help me out?