Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks
Cool idea!
Just realized how you dealt with zero too - didn't think of that approach.
Suggestion: the description did not say what to do with empty argument list. I think this should be mentioned in the initial task description, as it is a trivial case which still needs to be involved in the logic. Thank you.
For general logic and programming methodology it was quite nice exercise. In general, I'd probably say this is more suitable for beginners. But for more seasoned programmers, this seems to be more like a math exercise. For that purpose, the kata did it's job well.
This is what I call a hack. :D
I totally agree!
Plus, it's not even tagged as "mathematics."
Thank you for your feedback :)
Knowing some elementary-level number theory made this easy, but it was a fun challenge regardless. Thanks to the author!
Thanks for the challenge and thumbs up! This was an amazing "back to basics" revision lesson.
It seems once you get above 7KYU on here, the problems all just become math problems.
I think the camelcase vs snake case depends on language convention of used language. For example, in general, JavaScript uses camelcase but Python uses snake case.
This is not really a programming challenge, more like entry-level calculus problem.
Loading more items...