cobegin
coend
saft(l,n) sśrt(n+1,2n)
/cal(1,n,n+1,2n) \
S0ltr |
Sort 2 |
scal | |
początkowo |
4, 1 |
8, 5, 0, 3, 9 | |
sortuje 1 |
2, 4, 7, 6, 1 |
8, 5, 0, 3, 9 | |
sortuje 2 |
2, 4, 7, 6, 1 |
5, 8, 0, 3, 9 | |
scalanie |
jw. |
jw. |
2 |
scalanie |
jw. |
jw. |
2, 4 |
scalanie |
jw. |
jw. |
2, 4, 5 |