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.
Definitely best solution
I like this one best
Doesn't this return
" "
instead of""
for an empty string? I thought I tried this code and it errored ...Edit: I just tried it out and it didn't error. Never Mind. I guess it doesn't join on an empty string (
""
) because there is nothing to join.well it took me quite long to do it and while checking others solution,it looks like how easy it was but wasn't for me and now it is.
This comment is hidden because it contains spoiler information about the solution
#THIEVES118
this function, although returns a string output, there is still spaces at the begining and of the string.
For some reason, I thought the toString() method was necessary at the end of this one.
Since you do not do anything with variable afterwards (besides returning it), there is no need to assign the result to a variable.
That's so easy
This was my approach!
I'm 7 years late but appreciate the dialogue here!
This comment is hidden because it contains spoiler information about the solution
Cool, I agree with you. Using already implemented functionality is smarter than coding it again. Great!
This comment is hidden because it contains spoiler information about the solution
Loading more items...