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.
I console.logged
o.split(d)
just to see what I get. It gave me[ '0', '49', '6253649648', '', '00' ]
for input(10, 1)
. Someone plz explain why and how do we get that''
value as the second last element ? I think that must be the reason he/she have applied.length - 1
to the solution and not just.length
. Correct me if I'm wrong and need a proper explanation. But otherwise an excellent solution.Could not have imagined split to be used like this.
Such a clever solution!
clever work
how the hell you get this kind of idea? amazing..
OoooMyyyyGOD
^_^
This comment is hidden because it contains spoiler information about the solution