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.
Fixed now. Thanks :)
Yo Mr Sorbi :)
This comment is hidden because it contains spoiler information about the solution
Hey Mate :) [0] versus .first :)
Clever ???
Just did this a second time in Python after doing it in Javascript.
Again great kata. Starred and voted very satisfied. Thanks!! :)
Almost as good as my solution... :)
Check out my solution if you want to level up more... :)
4 calls to len is not best practice.
The sort order is determined by the Numpy function that is used to solve this kata.
https://docs.scipy.org/doc/numpy-1.13.0/reference/routines.sort.html#sorting
This is not a difficult kata.
reorder(10,1) == [[4, 0, 1, 2, 3], [9, 5, 6, 7, 8]]
It is pretty obvious that the range is from 0 to 9 split into two sub arrays which are rotated by 1.
Thanks for that valid comment. I have updated the kata description to include more details.
This kata focuses on the Numpy python package and you can read up on the Numpy sorting functions here: https://docs.scipy.org/doc/numpy-1.13.0/reference/routines.sort.html#sorting
You should use Numpy to solve this kata.
I am doing well here, except for the very hot summer days.
That is an interesting one liner! :)
Thanks for the great kata.
Loading more items...