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.
Keep practicing, you can do it.
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
I wanted to do this but couldn't perform a double regex by && || but couldn't think of this, brilliant.
don't know what he means though, is he mocking PHD ?
It's reversing because the i is being pushed each time in the new string which is making it reversed
let's say input is "hello world"
when we're running this code we're putting in h first time thn e thn l thn l thn o and so on
so h is being pushed to right which is making it go reverse
h first thn e being - eh thn l so leh like this
I'm a newbie too btw hope this helps
This comment is hidden because it contains spoiler information about the solution
total isn't an array here, .push() is only for arrays. total is a number which is zero, other positive numbers will add to total and later returning the sum
it does but each time it compares if the length is smaller than i
if it is smaller than it keep on going if it isn't it stops
that's the dream we're all dreaming cheers mate
I know it's been 3 years but
only after 21 days you were saying this !? give it some time coding isn't as easy as it seems by now you can do harder problems too I believe
I'm a bit confused about !! there, can someone explain that one
I think he doesn't know himself lol
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It might be simpler for you bro, but for people like me who's new in here found it pretty hard.
I completed it but I feel like there's a better way to do it.
Got many repetition in my code
Loading more items...