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.
Please, instead of the input validations, present the available inputs into a constrained space.
This makes your description more readable, the code WAY more fun to write (instead of throwing boring exceptions because of the input)
I feel like the -1 on impossible is already more than plenty for this problem.
Otherwise, it's okay, the description is a bit wordy, and the performance is not tested, but for a 5 kyu problem that's also okay.
Please set the estimated rank to at a minimum a 3/4 kyu, (average is now 4/5 kyu) this is not a 1 kyu problem.
This comment is hidden because it contains spoiler information about the solution
You really think these input validations have added value?
It's not. I'm effectively modifying the inputs which is then tested against your code. Because I've modified the inputs, I'm able to pass the random tests and hardcode the sample tests. There's also thefunction function labyrinth(...)in the starter code still (doublefunctionkeyword).If it's about invalid inputs, could you please perhaps check it now?
Not entirely fixed. We still have issues:
https://www.codewars.com/kata/reviews/68758c4e27434ab0b1f5d518/groups/687594793cfb3f47cf47c3b0
Can you check it now?
functiontwice