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.
I see there are some sadists on the CW?)
Actually, I prefer for people to think they have a good solution after passing the sample tests only be to shocked that their solution is not complete at all. IMO it gives a good lesson to take more care to read the kata requirements carefully and not be too hasty in thinking you are finished without considering edge cases.
it should definitely be in the specs. examples are not specs.
the description should be correct, complete and consistent without the examples.
that is in the last example, but it's not in the specs - and it should be. examples are not specs.
fixed
Please describe your solution, specify the language, and also pinpoint what additional fixed or sample tests or random test validation should be added to invalidate your solution.
you are 3 kyu dude, this was 2 loops and stringstream. How the hell was that tricky to implement for you?
eval does feel kind of cheap. I had the opposite experience sort of. I just retraine on this kata and I used eval() and when I went and looked at my first solution I was like, "Holy shit, did I really write this?!" I think i did since it didn't get any variations. Plus eval is almost never a good idea for security reasons.
Okay for that :)
Yes, it's still new so I think it would be best not to post the solution because there's no more fun solving it if you do that, but thanks anyway. (I also think that for other kata it's not really a good idea :)).
This is not a problem for me but there are also other contributors for this kata, and then we have to see if codewars accepts this?