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.
Thanks for translating this to Go
I have updated the description to be a clearer about the possible input range.
I have added some random test cases now.
Thanks. I've updated the kata to replace the tabs with spaces.
Could you be more specific (and perhaps constructive in your feedback) as to why it is 'not good', pleae?
The tabs vs spaces debate is one that has been going on for years - if using spaces instead of tabs solves some formatting issues on this website then that's fine, but the Initial Solution has 1 tab in it...
I really enjoyed the idea behind this Kata; I loved that it had some personality and that it was very well explained.
I found that it wasn't too difficult to create a solution that worked for the basic test cases (the '5 FIXED TESTS'), however, when it came to the '100 RANDOM QUESTS' I ran into issues that upon further investigation seemed to be related to underflow/overflow.
I spent a considerable amount of time trying to work out where the program should accept the loss of precision in order to match some of the random tests that deal with numbers as large as 1^e+140 (only for the expected result to in the region of 1^e+17).
It would have been great if there was some guidance on how the tests expect integer overlow to be handled or some simple tests that demonstrate the expected output around these edge cases.
I would suggest changing "a couple" to a "a number"; a couple specifically refers to there being a small number and not a wide dynamic amount, so this description is misleading (and contrasts with the test cases).