Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I know, but if mutation was possible no, you can't.
Ehm, Chrono .. you can work back from
expected
to get the input.When that happens, check you don't have an infinite loop. Or your code is not performant enough.
Definitely,
692
was duplicated in the input list, and also the median, so it should a middle element in the output, as well as reflected on both sides of the middle element, just like Chrono79 stated.Without the input value it is hard to say, it could appear twice in the input (and because one of them was the middle value, only the other one got reflected) or maybe you've mutated it. After seeing the tests, it seems you would get an error message in that case, so it seems it's the first option.