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.
python new test framework is required. updated in this fork
Although there is a check for "Shouldn't change the input array," it is not enough
I thought I was going to have to skip this one, but when I started writing some notes down it started to come together, then some long forgotten linear algebra from about 10 years ago resurfaced. My solution probably isn't the best but it works. Excellent kata, very satisfying.
This comment is hidden because it contains spoiler information about the solution
Nice!! I learned something new.
This comment is hidden because it contains spoiler information about the solution
.
Thanks for finding these, I've updated methods within the reference solution to be defined, and added imports for everything used in the test cases. Also updated to use the new framework annotations and blocks, and moved the reference solution inside a 'random tests' block.
I would suggest to remove all hints in the description (maybe leave a note in the beginning).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
No, high efficiency is a requirement, and I will not change the tests to allow slow code to pass.
In case you still wish to try solving it:
< 500ms
) but you can't even pass themThis comment is hidden because it contains spoiler information about the solution
Loading more items...