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 is out of spec, and is undefined for the problem. What should you output if the expression is true?
0
would be absurd here.Thank you for the feedback. You're absolutely correct that I made a mistake in saying that the answer should be an integer. My apologies. I've corrected the question statement.
I agree with you about the fact that some of the test cases aren't realistic, given the fact that the kata is supposed to be questions on a test, but these tests were suggested by previous users to help test the kata more thoroughly.
I'm not sure what exactly you mean by a hacky string converstion; I did not encounter that issue in my solution. I will gladly make additional changes as appropriate if you have other specific suggestions.
Thanks for your patience. This is my first kata to author, and I'm still learning, as you can see. I appreciate your feedback.