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.
This shortcut is not allowed.
Use deepcopy
Global variables in sample tests should be moved to corresponding
it
blocks as it results in wrong outputEDIT: same case for test case section tho it passes
whats type checking?
This comment is hidden because it contains spoiler information about the solution
Great. With the fix I could remove my deepcopy. Now I like it very much :)
fixed
first test case is
[[1,2],[5,3]]
you may be seeing it wrong
This comment is hidden because it contains spoiler information about the solution
I suppose tests with case n=2 there is a bug here
you actually change input matrix, so test case change itself. If you don't want to change the code you must find the way to copy all contain of the matrix(may be tricky)
deepCopy the input ... thats my solution
I didn't modify the input and it still doesn't work. I also reseted the Kata. What should I do?
Maybe you are modifying the input
Don't modify the input and it will work
Loading more items...