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.
You're welcome, I glad the debugging went quickly ;)
I will close this issue therefore.
I have also edited the kata description (kata author isn't active) to explicity include examples of the kind of invalid inputs that may be encountered.
Ok I see that my issue was the double digit inputs. Thank you!
Highly suggest adding one of these examples to the problem statement
This comment is hidden because it contains spoiler information about the solution
Hi - I don't use C# so I can't view your current solution to see what's going on; until another user checks your Issue here are some general suggestions though:
Add a print/stdout statement so you can see which test inputs are causing which tests to fail, you can learn to do this here https://docs.codewars.com/training/troubleshooting/#error-messages-and-printing-your-inputoutput
Invalid inputs are things with double digits e.g.
[10,12,57]
or negative numbers[-2,-5]
etc; while you wait for someone to look at your code, check on your local machine if your current code produces an answer for the above 2 tests?You need a different approach. Just converting it to number and adding 1 will result in precision errors with larger arrays. Try working only with the array itself.
Print the input: https://docs.codewars.com/training/troubleshooting/#print-input
This comment is hidden because it contains spoiler information about the solution