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.
huh? This answer is wayyyy too convoluted and slow.
This comment is hidden because it contains spoiler information about the solution
I haven't read neither the transation nor the fork, so I make no comments on them here. But if I put on duckduckgo the term "Ingrediant" it says: 'Did you mean "Ingredient"'.
This comment is hidden because it contains spoiler information about the solution
I know i'm a year late on this but really?
You can extend the regex with a literal 1 character change.
This is awful.
Ha, thank you. I had a lot of fun with that one, as I wasn't aware of
.cycle()
at the time.rege soluation is the good approach, check the kata tags, nothing about SOLID OR POO
This comment is hidden because it contains spoiler information about the solution
Thanks!! :-D
This comment is hidden because it contains spoiler information about the solution
Ditto, I was like wtf.... almost thought it was python for a moment
I hope so) Thanks.
Yeah better to go directly and check inside reduce :)
Technically, worst case is 3n, since there are 2 filters and 1 reduce. Worse case would be all negatives for this case. But like the other guy said, big O notation does not really care about coefficients.
That's not how O notation works but yes, it makes
2n
operations.Loading more items...