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 collection data...
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...