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.
learn about default parameters
Asking for help != kata issue.
I can't just give out the answer, but you could try using search engine (like Google) to search for this.
'Looks like you've solved it'
Thank you for making this kata. I am a noob and although I have run into runtime optimization/refactorization in theory, this is the first time I ran into a syntatically and semantically correct code still being unsatisfactory because it is just too inefficient. That becomes obviously of great importance as the complexity scales with increasing size of input. My code still worked, but upon reviewing it I saw many things I could have done differently, and better.A lot was redundant and just unecessary. Thank you for making me better. I hope with many thousands of hours of practice I can reach your level one day. Sometimes I get frustrated because I can instantly visualize the most elegant solution when I encounter a problem, and other times I flounder to write code that turns out to work but that still is very shitty. However I find that in those instances of struggle I become much better. I still have so much improvement to make, and that excites me.
TLDR: being in the presence of those better than oneself makes one better
Take into account: If the savings from choosing B are less than 1 full integer, it's NOT worth it YET to John.
Not an issue of the kata. Please read https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution.