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.
😨
"Only use ~~ as a substitution for Math.trunc() when you are confident that the range of input falls within the range of 32-bit integers."
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc
This is essentially an easier version of [https://www.codewars.com/kata/5e787d8b4a26820028d5ac6c/haskell] (which has received almost no attention in three years).
The kata above is more challenging because there isn't time to simply iterate through up to a billion numbers adding up the lengths as you go.
=)
I stranded at 49 :)
edit: 47 \o/
I love those as well. It's so interesting. I always look up what they're about if no one explained them in the replies. It's fun to know that those fancy options exist.
This is the kind of solution I adore in the easier kyu range. Not too wild, but wild enough to make me go, "ooooh."
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Selecting tests from a fixed pool of tests does not make it "random tests"
Description should be language-agnostic
Node 12 should be enabled
Random tests should have more edge cases added
Didn't know about that operator. Not anymore
This comment is hidden because it contains spoiler information about the solution
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'm stuck at 52 :( Feeling ready to give us and not find the solution... I'm not sure if it's a trick with regex or something in the counting that I could be doing different!...
Loading more items...