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 makes me hate myself.
wow, my favorite solution right now.
maybe i should continued the family farm.
I don't know why I didn't made this easy (I also checked array's size)
a good summary of a confusing line of code!
What was I thinking? Why store it in a variable when you can just use ord('a')...
i agree, although this solution may appear as clever it doesn't resemble the best practices.
The conditions are reversed, while not exactly the same the function is continuos when n or m are 0 so, the result is the same.
I think here sould be 'OR' instead 'AND'. It said in task`s condition..
Just what I came up few seconds ago...
Maybe not the most efficient but, I mean, first passing all the tests, is what matters most :). Improving is another step though.
Clever! I added an extra line I suppose
Use spoiler flag next time, your post was visible in the homepage.
This comment is hidden because it contains spoiler information about the solution
Yes, but this is a kata, not production.
Tip: Consider using a positive test for cleaner code:
return words == null ? null : String.join(" ", words);
This approach is more intuitive and aligns with best practices.
Loading more items...