It's clever. Can I read how you find this formula? I can write program only with "for"
I see that a test case exists for this in the two languages (Python and Java), so presumably someone has added that in.
If I remove the zero-kate-check from my Python solution then it fails to pass the test cases, as it should do.
So I'm going to consider this resolved.
You could add a test case where there is no Kate. I realized that I missed this edge case after seeing a solution that didn't, yet I passed the kata.
♥I love you♥
yes, known CW bug (reported on github). You effectively got double honor/progress for this. ;) (note: your soluiton is actually stored in your "profile/solutions" page)
Though not Kata related, this Kata shows up in my profile under /Kata/Completed. I can't see the Solutions of the Kata however. If I resubmit my solution, do I get points again? I guess it's a CW bug, but is there an accepted way of handling this?
This is great!, I got it down to one for loop by modifying gauss' sum slighly different. But this is true algebraic problem solving! :)
never thought about that, thanks!
No random tests.
python: the "jagged maze" test should be done with the reversed version too: some implementations may use the length of the first string as a constant, and that will make succeed that test where it would fail on the other version:
maze = ["###########",
java translation, please review and approve.
Note: I added the reversed jagged maze test and updated the description about that kind of maze.
Don't worry! We've all been there as well. :) Try to turn that frustration into motivation. Also - never stop improving!
I love finally finishing a Kata just so I can see the guys who figured it out on 1 line! Way to go... I'm so bad :(