Ad
  • Custom User Avatar
    • first of all, do not forget to tell about the language you're using. Python, ok.
    • second, with more than one thausend people already having comlpeted the kata, you'd bet that the problem is on your side, not on the kata side, so that's not an "Issue", that's a "Question".
    • this is 3 kyu, meaning it's demanding, and potentially on several aspects: memory / length of the input/output (numbers are HUGE, here), so there could be a lot of things going wrong with your approach. Just seeing at what you wrote, I'd bet on a full memory.
    • keep in mind that the sample tests are just "sample". In the test cases, you'll have to manage HUGE things. Nothing in common with what your code is currently capable of, I believe. So you'll have to find another way.