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 comment is hidden because it contains spoiler information about the solution
respect!
It`s call ternary operator.
I am here, too! I just spent hours on another kata writing an iterative solution that also preserved the data type of "int" rather than first transforming the input to a "string". I was so proud. Once I viewed the solutions, there shined a Linq one-liner. I'm sure there's value in being able to write iterative solutions, but, there comes a point that it just doesn't make as much sense. (Like right now) lol Did you find any good, hard resources for Linq? As of now I'm doing as Aelion and kvarcas91 are suggesting
Glad my solution took me hours to write, and is 35 lines. (-_-) To be fair to myself, I was hellbent on preserving the data type and not converting the input to a string. Why? Not sure exactly. But I did it.
what in the awesome is this?! :D
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution