This comment is hidden because it contains spoiler information about the solution
Some of us are at a level where that is a lot to explain; so thank you for replying to their question.
|b[i] - avg(a)| means absolute value of ( b[i] - avg(a) ). Otherwise, you can simply take the description at face value; there are no hidden meanings. Just follow the instructions. Don't read too much into it, there is no more than what's there.
|b[i] - avg(a)|
absolute value of ( b[i] - avg(a) )
I don't understand the instructions at all, if anyone can clarify? Thanks!
Why do you need tests?
It asks you only for syntax.
This is a puzzle. You're supposed to figure out what the riddle is.
Thanks for the help!
My confusion about this problem is: when you put the potatoes in the oven, you are trying to evaporate the water, but not the dry matter. Thus, I don't understand how the ratio to dry matter and water will be proportionate to the starting ratio. If both the water and the dry matter are evaporated, then the potato is just smaller and not less wet. If anyone has any suggestions about where I can look, in order to learn the math for this, that would be great; as I'm not sure what I'm missing. Thanks!
The kth character of the final list of S(26).
So S(1) = a
S(2) = aba
S(3) = abacaba
Until S(26) = abacaba...(some stuff)...abacaba
The 3rd character of S(26) would be a, for example, the 4th character c, the 8th character would be [whatever letter is next in the final string / list].
Hopefully this is not spoilery, and is helpful.
Well done. Approved.
Thanks for your work ;-)
Translated to CoffeeScript. Please accept.
Oh, I see, thank you.
"there are two 1x1 rectangles and one 1x2 rectangle. So 2 + 1 = 3."
2 + 1 = 3
You need to count all rectangles of all possible dimensions.