|
|
back to boardSome things to look after These are some of the things I had to overcome: 1)Testing on something like: 6 5 5 1 1 2 2 and 6 5 5 1 1 1 2 2)There cant be 2 out of place pairs in the ascending/descending order 3)Swapping elements across all pairs Hope this helps someone. |
|
|