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 comment is hidden because it contains spoiler information about the solution
Thanks for the explaination, makes the solution quite easy to understand.
This comment is hidden because it contains spoiler information about the solution
The loop should have started from i=3
This comment is hidden because it contains spoiler information about the solution
Observation power>>>>>
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes u are right , to concept of x?.length is optional chaining, here is the md link to read more.https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
Could not have imagined split to be used like this.
This comment is hidden because it contains spoiler information about the solution
Hey, thanks gotcha! If i'm not wrong this is an example of recursion.
Can somebody explain, what is happening in line number 4 , 'RGB'.replace(row[i], '').replace(row[i+1], '');