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.
should there be any varaibles in the init section
This comment is hidden because it contains spoiler information about the solution
For the first test case that has 5 terms, I am getting different answers to the 2nd and 3rd median values. It looks like the second median is 32, and the third median is 34, which is the 4th terms in each of their lists. Shouldn't the median be the 3rd sorted term in a 5 term list?
maybe dont use loops at all - i tried to do it with one loop and it timed out
Never mind well done. It wasn't even a algorithm though
This comment is hidden because it contains spoiler information about the solution
ok, i will try to do it using one for loop, i see what you mean
does this problem require the use of algorithms then? i am not thay experienced of a coder
I have two for loops in my solution, and despite passing all the cases it says that I timed out