This should be the top best practice
Wow! Didn't know this formula. It's super fast compared to other solutions)
Thank you!
Yes, see it for yourself:
https://docs.python.org/2.7/library/functions.html#round
https://docs.python.org/3.5/library/functions.html#round
This comment is hidden because it contains spoiler information about the solution
I think you meant, branchless
nice
This is constant time, fastest solution.
Agreed and also going in the high numbers - I had errors initially in my code that the test didn't catch.
Loading collection data...
This should be the top best practice
Wow! Didn't know this formula.
It's super fast compared to other solutions)
Thank you!
Yes, see it for yourself:
https://docs.python.org/2.7/library/functions.html#round
https://docs.python.org/3.5/library/functions.html#round
This comment is hidden because it contains spoiler information about the solution
I think you meant, branchless
nice
This is constant time, fastest solution.
Agreed and also going in the high numbers - I had errors initially in my code that the test didn't catch.