Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 8

For each iteration, the car with biggest number is moved the

correct position in the original track. The diagram is given for


the first two iterations

4 5 6 3 1 2

OT

T1
5 6 3 1 2

T2

T3
4

OT

T1
6 3 1 2
T2
4

T3
5

OT

T1
3 1 2

T2
4 5

T3
6

OT
T1
1 2

T2
4 5 3

T3
6

OT

T1
2

T2
4 5 3 1

T3
6
OT

T1

T2
4 5 3 1 2

T3
6

OT
6

T1
4 5 3 1 2

T2

T3
OT
6

T1
5 3 1 2

T2

T3
4

OT
6

T1
3 1 2

T2
4

T3
5
OT
6

T1
1 2

T2
4 3

T3
5

OT
6

T1
2

T2
4 3 1

T3
5
OT
6

T1

T2
4 3 1 2

T3
5

OT
6 5

T1
4 3 1 2

T2
T3

You might also like