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
This comment is hidden because it contains spoiler information about the solution
What I don't get about this:
Won't the second iteration on a marker replace the 'parts' of the first iteration?
Meaning, during the first iteration (which for the first example will be '#'), parts will be saved as smth like 'apples, and pears'. But when it goes to the second iteation (on '!'), parts will be saved as 'bananas' for example, and replace the previous 'apples, and pears'.
What am I missing?
Yes, i is soooo bizzzzzare!
Same. Best platform for learning imo. Mad I didn't sign up sooner.
Well, I'm in :)
I thought this kata asked for the original index of the in-between number but anyway
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I didn't know you could use conditions like that in the middle of a sentence!
This comment is hidden because it contains spoiler information about the solution
Took me more than half an hour to produce like 15 lines of code for this!
But if you spend a couple of minutes to see how enumerate works, it all makes perfect sense.
I managed to solve after like an hour by adding space as a seperator but I don't know why it actually works this way
How's that going to return [0] if arr is blank though?
I did that but with AI help. Don't know what challenged me so much with this one
Loading more items...