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.

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.

see here, plz

Approved

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

Maybe clever. Not best practice.

"Best Practices" ? it must be a joke )

lmao

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 :)

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

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

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

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

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

C# Translation

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.

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.

see here, plz

Approved

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

Maybe clever. Not best practice.

"Best Practices" ?

it must be a joke )

lmao

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 :)

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

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

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

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

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

C# Translation

## Loading more items...