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.
WTF 0_o
Great use of this property!
That's impressive, I often forget that there probably is some hidden pattern that I can leverage. Good one :).
I'm marking it as resolved.
But it depends on what you name "working well". Your function didn't answer at all to the question. Read again the description, I fear that you didn't understand it. Did you succeed with the 3 small tests of "Run Tests" with equalSigma1 for n = 100, 738, 917? I am sure not. It's not an issue of the kata but an issue of your programming.
I messaged to the translator into Haskell. You'll be receiving an answer.
This comment is hidden because it contains spoiler information about the solution
Calculate the answer for the first few rows. The pattern is too obvious to be missed.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
truncate rounds toward 0, floor rounds towards -infinity. The only difference is when you work with negative numbers.
What is the difference between "truncate" and "floor"?
This comment is hidden because it contains spoiler information about the solution