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.
Sometimes brute force is the way to go.
...
This might not be that time, but sometimes it is! I also used this solution.
Such a simple solution. I can't believe I didn't think of this. I am a shameful developer
xD
:D i love this one
It returns 1 (at least here and in repl.it, no idea why would it be any different in WebStorm tho). You can check it on https://repl.it/languages/javascript
This solution is undefined for [9, 0, 2, 4, 3, 5]. Tested in WebStorm.
This comment is hidden because it contains spoiler information about the solution
Same here xD I definiely over-thought this one