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.
Works but O(n log n) instead of the simple solution with O(n)
This is currently failing tests when I try to run it.
I think
\\s*[${markers.join('')}].*$
would work better (\s -> \s*)minified ^_^
I don't get why this is the best. They just changed words into char. Making the code harder to understand. Right?
I'm still a beginner and know a lot about functions, objects, etc., But this gave a lot of confusion as to what the class was, static, etc. It definitely should not be on 8 kuy.
Or someone could just briefly explain what these things are. ( static, class )
Just wanted to konw, here they want to use make function right? Then why the 'class' and 'static'! I mean what are those? I have seen some of them in Java but in Js? really?
recurssion. very clever
This is great :)
best
colors
could be an array instead.Nice and clean.
解构赋值
I'd imagine this makes for both best practice for maintainability and clever for obsecurity with ES6.