Thank you so much. Then I'll go and solve some other problem :)
I just noticed: this kata is in Draft mode; No-one can can currently submit a solution.
It's frustrating, but I tried in 3 different browsers, with perfect internet, and Reset the task and tried again. But there is no button. I'll try again later...
I'm sure there's a better answer.. but I've noticed that sometimes if my internet connection gets cut, my SUBMIT button blanks out. So, I copy-save all my code, refresh the page, click RESET, insert the code, and try again. Anyway, there's also this documentation on Troubleshooting-your-solution.
After passing all the tests, the button Submit does not appear.
Are all the test inputs integers ?
Two minor suggestions since this is probably targeted to people new to coding/codewars:
1- adding a breakdown of one of the sums, like:
sum(5) = 1 + 2 + 3 + 4 + 5 = 15
2- adding to the end of the description the largest number tested, and a disclaimer that if the solution is timing out, the code needs to be reviewed or a non-brute-force solution has to be thought out
I'd say this problem is 8 kyu, if you want this to be 7 kyu maybe add an extra dimension where instead of a long the user has to work with a string array and concatenate those values.
lol smart but should not be allowed
Pleasure! Of course you might need a 'break' statement in some situations.
Oh man, while True is wonderful, thank you for showing it, I didn't know we can do such awesome thing.
This comment is hidden because it contains spoiler information about the solution
Because it is a duplicate to many katas it seems.