• ###### sjoerd34commented on "Calculate String Rotation" python solution

Wow, Very impressive!

• ###### amir69progcommented on "Calculate String Rotation" python solution

wow!.very clever! that's incredible

• ###### eliafeliamcommented on "Regex Tic Tac Toe Win Checker" java solution

Thank you, genious!

• ###### HSO-42commented on "Statistics for an Athletic Association" python solution

So neat and easy to read. Should learn from this, my code tends to be... uhm... less neat.

• ###### Palettecommented on "Statistics for an Athletic Association" python solution

Holly, why did I not think of doing it like line 5

• ###### babybear4812commented on "Genetic Algorithm Series - #3 Crossover" python solution

Very nice! At the risk of being "that guy" , you could've gotten away without the 0's as well.. chromsome1[:index] and chromsome2[:index] :)

• ###### brubru777commented on "Going to zero or to infinity?" java solution

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

• ###### o83290102o5commented on "Going to zero or to infinity?" java solution

(1 / n!) * (1! + 2! + 3! + ... + n!)
= (1 / n!) * n!+(1 / n!) * (n-1)!+(1 / n!) * (n-2)!+.....+(1 / n!) * 1
= (n!/n!)+((n-1)!/n!)+((n-2)!/n!)+.......+(1/n!)
= 1+(1/n)+(1/(n*(n-1)))+......+(1/n!)

superb

• ###### brubru777commented on "Statistics for an Athletic Association" python solution

Hi,
This is a right bit shift.
Concretely, x >> n is the same as x / (2^n).
So, x >> 1 is just x / 2, but it's faster than the division.

• ###### krishpcommented on "Statistics for an Athletic Association" python solution

Hello there. What does the >> mean? Is it like a true/false value?

• ###### brubru777commented on "Regex Tic Tac Toe Win Checker" java solution

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

• ###### hindstrustcommented on "Regex Tic Tac Toe Win Checker" java solution

can you explain what the regex means for this one