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.
done
Indeed, 7kyu would be more appropriate.
Unless I'm misunderstanding something the test cases aren't sufficient here for all edge cases. You say the final array should be sorted regardless of the order in the input array. But there is no test case that really checks this. For example my code passes all your tests but it doesn't work if I pass in this array [2,3,4,1]. This input will return this answer [[2, 4], [1, 3]] which is not sorted. But my code passes the kata no problem. Also your random test cases are always sorted in ascending order so those will never catch it either.
D translation
Mby 8?
This should be 7kyu kata.. very easy !
PHP translation, please evaluate
Great kata, but please enable Ruby 3.0
Ruby 3.0 should be enabled, see this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
Julia translation
nice kata
great kata!
This comment is hidden because it contains spoiler information about the solution
Rewrote the tester.
C tests are segfaulting if
*z = 0
.Loading more items...