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.
Great solution!
just refactored mine
oh okay, thank you
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Exactly. I'm quite new to this myself (roughly a year) and get happy when I see that my code works at all lol. It takes time people, coding is not easy.
A good code is code that works. The answer solves the problem; it may not be the prettiest, but it works.
Well in that case I wouldn't name the variable as "n". It doesn't mean anything and decreases the readability.
"f" would be cool, or better: "friend".
"Input strings will only contain letters."
then this guy only completed 7 Katas lol. how ironic
How about the name with number ?
Make use of Type Coercion is clever
This is the most clear solution I have seen for this problem, thanks!
Can you tell me why ? Just want to know ^^
Great solution, thank you. I overcomplicated myself using .split("") and a condition but this is smart. Gotta remember about filter.
Loading more items...