[SOLVED]
Hi,
I have a question about merge sort bottom up.
Let's take the array:
13, 7, 4, 10, 3, 5
My first step would be to compare each 2 following integers:
13, 7, 4, 10, 3, 5
7, 13, 4, 10, 3, 5
7, 13, 4, 10, 3, 5
7, 13, 4, 10, 3, 5
My second step would be to compare each 4 following integers:
7, 13, 4, 10, 3, 5
4, 7, 10, 13, 3, 5
This is where I'm stuck, how can I get the last 2 integers compared?
Thx in advance!