|
|
back to boardIs it correct? Test case: 5 5 Ans: 5 1 3 4 2 Test case: 10 2 Ans: 2 4 6 8 1 5 9 7 3 Is it correct ans? Re: Is it correct? Of course 2nd one is wrong, it skips 10. I think, the correct answer for your second test is: 2 4 6 8 10 3 7 1 9 5 |
|
|