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
really clever solution!
I like this solution because it has the opportunity to return before iterating through the entire length of the array.
beautiful
Thx a lot
Because the kata got retired, so you can't submit a solution anymore, though you can freely look at others' solutions now.
Hi,
I have solved it.
It says
'Time: 646ms Passed: 50 Failed: 0'
and
'Great! You may take your time to refactor/comment your solution. Submit when ready.'
However I still see 'attempt' button and 'submit' is not active so I could not submit it.
I had not such a problem until now on this site...
Thx
In JS it makes sense to use regular expressions though, Python not so much.
Trivial map/filter/reduce is not a novel kata idea.
Looks like it's fixed now. I deleted all the tags I had put in, re-published, and re-added the tags after.
I noticed those as well. Those seemingly got added automatically. I've attempted to remove them a few times with no luck. Is that anything you've run across before? (Thanks again. This is my first kata and I appreciate your input)
Random tests added for js and python. Thanks for pointing it out!
Unrelated tags:
Regular Expressions
,Declarative Programming
,Advanced Language Features
,Arrays
No random tests (at least in python).