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.
Ali, the only notable aspect of this answer is it's verbosity. It's not clever...
This comment is hidden because it contains spoiler information about the solution
Yea, this kata is quite broken...
This comment is hidden because it contains spoiler information about the solution
Oops, JavaScript.
Not sure why this is getting "clever" votes... This is a very verbose way to do this...
This kata is language-agnostic. The solution string behaves the same in all programming languages.
This comment is hidden because it contains spoiler information about the solution
Eh, no? There's nothing more to this than the simple condition in this solution...
For a lot of users, we make a challeng out of making the answer as short as possible. Spaces are a waste of space ;-)
This comment is hidden because it contains spoiler information about the solution
That answer is the whole point of the Kata. It's intentional. It's a test of analytical thinking.
Doesn't get much shorter than this :D
... How did you manage to sneak an
eval
into this? Yikes!The problem was that this kata didn't contain the formula, for a long time. Which means that this basic kata required you to look up a formula to solve it. That's not a programming problem.
Loading more items...