Evenafterwrong testcase1-failing


could somebody tell me what am i missing since the output seems fine to me

Hey
Pls take care of the order of elements as well
7
1 2 4 3 8 5 6
should give
1 3 5 2 4 8 6