• ###### smikscommented on "Get the Middle Character" python solution

I know it does. It is easy to fix it but guess what, I didn't CARE.
Also dividing integers by 2 is FAST and len() is also FAST.

• ###### Megawattscommented on "Get the Middle Character" python solution

This implementation calls len(s) FIVE times when it only needs to call it once. It also divides len(s) by 2 FIVE times when it only needs to calculate it once.

Approved

• ###### MatheusParanhoscommented on "Tic-Tac-Toe Checker" javascript solution

Oh you got it right! This is the right solution!

• ###### KenKamaucommented on "Life without primes" javascript solution

Maybe clever. Not best practice.

• ###### fedot-ostcommented on "Life without primes" javascript solution

"Best Practices" ?
it must be a joke )

lmao

• ###### GiacomoSorbicommented on "Custom Christmas Tree III: the center of leaves" python solution

To be fair, not even so creative once you are familiar with the common "trick" of the referencing to groups, but thanks again for your appreciaton :)

• ###### maipatanacommented on "Custom Christmas Tree III: the center of leaves" python solution

Thank you for the explanation. Very interesting way of approaching the problem.

• ###### GiacomoSorbicommented on "Custom Christmas Tree III: the center of leaves" python solution

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

• ###### maipatanacommented on "Custom Christmas Tree III: the center of leaves" python solution

This is so cool. Can you please explain a bit of what's going on in that regex?

• ###### AndrewKyuKimcommented on "Sum of angles" kata

biggest problem with this question i had was not javascript... i forgot how to do math for sec...LOL

• ###### GiacomoSorbicommented on "Sum of angles" kata

How is one supposed to round for this kind of problem involving only integers?