• ###### KeithArdcommented on "Reverse or rotate?" javascript solution

looove this solution, beautifully formated, easy to understand, and modify.

• ###### sumanaFafanacommented on "Regex validate PIN code" javascript solution

That because the pattern is strongly checking for only digit (0 - 9) nothing else

• ###### o2001commented on "The highest profit wins!" python solution

I'm not too sure, but I think these builtins are internally written in C, making them automatically blazing fast. Calling the solution "horribly inefficient" is really dramatic. On the grand scheme of things, this is still an O(n) solution. It is also incredibly readable. I have run some cursory benchmarks and the "inefficient" method gobsmacks yours for all list lengths I've tried (we're talking around more than 3x faster than yours). Take this with a grain of salt since they're informal tests, but it should hopefully make you reconsider making hasty performance comments in the future. I'll attach it spoilered below.

• ###### bineapplecommented on "The highest profit wins!" python solution

can't think of any other solution

• ###### juanRCodercommented on "Find Maximum and Minimum Values of a List" javascript solution

Esta bueno era lo que se aprendio en el dia jeje

love it

• ###### Barinviccommented on "Powers of 2" python solution

why I always specify "0" in range()?

• ###### Babeni Nelsoncommented on "Are there doubles?" javascript solution

damn you regex !!!

• ###### momohdycommented on "Dollars and Cents" javascript solution

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

Yup.

OMG

• ###### ejini战神resolved a question on "Sort Santa's Reindeer" kata

Tests now use `assert.deepEqual` plus reply above makes such question obsolete

• ###### tecdencommented on "Sentence Smash" ruby solution

personally I allways prefer braces. Makes arguments for methods much more readable.