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.
Print the input.
Yes.
it's usually pretty useful for katas with tests that don't describe themselves to include a line in the beginning of your method that prints the input
I got same problem on same test case, after print out x and y.
x = 'abc', y = 'ac', instead of accept 'a' or 'c',
Result:
Expected: ac, instead got: c
is this correct?
you can write:
console.log(x);
console.log(y);
at the beginning of your function,then you can see the parameters when you run test cases
What is the third test case? My function works for all the tests before it, just not that one. It says "Expected: ac, instead got: a".
I think this Kata may be impossible if it can't calculate all possible paths, plus the instructions aren't clear enough. Does your solution just pick the max of the 2 closest to it, the max above it? That's what I'd do, but that doesn't always give you the max path. Or does it?
What is the 5th test case? My function throws an error and I don't know why.
I've got the same issue