alexander fairweather
This comment is hidden because it contains spoiler information about the solution
I'm wondering why more people marked this as "Best Practice" than "Clever"! I see it's pretty optimized, and hence clever, but I won't call it Best Practice unless it's very readable. At least there should be sufficient commenting.
I was using Java
You need to mention the language you used
The kata description says we can assume n>=1, but random test cases are sometimes generating n=0.
What the!??! X-D This is so funny.
Loading collection data...
alexander fairweather
This comment is hidden because it contains spoiler information about the solution
I'm wondering why more people marked this as "Best Practice" than "Clever"!
I see it's pretty optimized, and hence clever, but I won't call it Best Practice unless it's very readable.
At least there should be sufficient commenting.
This comment is hidden because it contains spoiler information about the solution
I was using Java
You need to mention the language you used
The kata description says we can assume n>=1, but random test cases are sometimes generating n=0.
What the!??! X-D This is so funny.