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.
Fixed
You may and every feedback is appreciated.
In pure functional programming all data is immutable. Accessing references can't change them. I will think about some way to mention that in other languages.
See (starting with 0).
I will see about point 1. Thanks for your feedback.
Thank you for fixing the issue!
Okay, I fixed the C# version. There was something wrong with the test generation, the reference solutions are all valid.
It's getting increasingly close to
CodeWars Fun: Arrogance
, and no, nobody wants to play that.Yes, it should be ordinal.
If the sort is not ordinal then your code should've been failed against the example test already.
This comment is hidden because it contains spoiler information about the solution
Also, for the record, I've just solved the C# version and there are no problems, so the only explanation is that there are problems with your code. You should at least post your code (in spoilers) so that we can agree on where the problem's at.
You can go on and believe that every instance where the test are not passing are problems with the kata, but if you look at the error message:
It's written in the open that that you've returned empty string. If you're returning empty string and then claim the tests are broken... everyone would take your "issue" with a grain of salt. That's not how filing an issue works.
This looks like you're returning empty string. Please check your code :)
Also, next time please raise code problems as a
question
instead of anissue
. Issues are only for problems with the kata itselfDid you read my solution?
Maybe you are right but so many guys have passed the kata that I can't change anything now. It is always difficult to work with floating numbers though there are rules which minimize errors; you could have only used "int".
Too many guys passed the kata (12,232 as you can see at the top of the page) so now it is not possible to change something.
Furthermore in the last parts of the example:
show clearly how the calculation is done.
Word replacements should retain case of their first letter. I have added another line to clarify this.
Fixed, thanks!