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.
I'm sorry, what I meant was "power of 2" not "squareroot"... Anyway, the main reason for my troubles are more likely the combined lack of comrehension, notation, math and english skills :-(
There is no square root involved; I think you are perhaps misreading?
If others have similar confusions I suggest you find the definition of population variance on Google.
I find the pseudo code very confusing. When describing:
(1 - 2)^2while mean is 2, it is hard to see that the second 2 is the squareroot and not mean. Secondly, at least for JS, ^ is a binary oparator. Therefoe it is confusing that it is meant to be square.Same idea, but your's way smarter! Like it.
Maybe slightly over engineered when I have a look at the other solutions :-)
wow, very nice, another option that I learn from you!!
I did the same. I like it
We know that the signature should always be 3 numbers (r, g, b). So, I’d find it a bit dangerous and unnecessarily "clever" to spread the args like that. Plus, it’s now unclear from the consumer’s side what the arguments are supposed to be.
weird.
this is nice, didn't think of
Explanation much appreciated!
This comment is hidden because it contains spoiler information about the solution
If you'd check if num is even than you could iterate with i+=2 instead of i++ and get x2 times faster solution
This comment is hidden because it contains spoiler information about the solution
This is great. I didn't know you could pass a radix to the #toString implementation on a Number object. Really appreciate this solution.
Loading more items...