• ###### ajpasscommented on "Take a Number And Sum Its Digits Raised To The Consecutive Powers And ....¡Eureka!!" python solution

wow, incredible

• ###### barstylecommented on "Sum of odd numbers" python solution

you are not alone

• ###### jacobbcommented on "Sum up the random string" javascript solution

I left off the comma zero and preloaded the zero into the otherwise array, while ES6 had unpacking/destructuring arrays in mind and prior versions of javascript not so much--so I had unpacking/destructuring as a mental model at the time I wrote my solution. Surprised it isn't more common yet.

• ###### farhanadityacommented on "Sum up the random string" javascript solution

How would you approach this with ES6?

• ###### martynov-94commented on "Sum of odd numbers" javascript solution

You don't need to know math, you just need a pencil and a piece of paper to figure it out. Just by counting all sums in the example triangle you can see that it's 1, 8, 27, 64, 125. At this moment it becomes pretty obvious what solution is

• ###### Mancherecommented on "Sum of odd numbers" python solution

I feel very stupid after seeing this solution loxl

• ###### farhanadityacommented on "Replacement cipher" javascript solution

Lol, never thought about it that way

• ###### lechevaliercommented on "Regex validate PIN code" python solution

Exact and description says:

PIN codes cannot contain anything but exactly 4 digits or exactly 6 digits.

`-` is not a digit.

• ###### hwarriorcommented on "Regex validate PIN code" python solution

This comment is hidden because it contains spoiler information about the solution

• ###### Shane-Xuecommented on "Sum of odd numbers" python solution

Well I never figured that out but I did manage to figure out a formula for the first element.
I was stuck for months no kidding

• ###### hwarriorcommented on "Is this a triangle?" ruby solution

I know the test cases don't cover it, but what if at least one of them was 0? ;-)

• ###### hwarriorcommented on "Sum of odd numbers" python solution

After spending too much time on one kata (longer than I care to admit) i figured pen and paper are sometimes good.

See the comment in my solution

• ###### AntonTimofeevcommented on "Squash the bugs" javascript solution

Shortness === cleverness ))

• ###### Shane-Xuecommented on "Sum of odd numbers" python solution

Oh you've got yourself good company I was stuck for 3 months lol

• ###### Shane-Xuecommented on "Sum of odd numbers" python solution

I'm so dumb lol never remember my maths