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.
Don't mutate the input.
Getting the same thing.. whyyyy
Same issue.
I am having the exact same issue.
I am having the same thing happening to me (just saw this post after posting about it last night).
Same issue for me. Even if i just return -1.
I am having issues passing these tests. I believe I have a working solution, but everything except the first case is failing with the message 'Value is not what was expected'. When I take my last line
return num
and doreturn num - 1
it shows me the errors sayingexpected {num - 1} to equal {num}
and the numbers it shows are just one off of mine. Not sure exactly what is wrong. Is the function not supposed to just return a number?