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.
"help pls" is not a valid kata issue. The issue is in your code.
I ran your code snippet, and it runs into allocation errors (because you're trying to create an array from an infinite iterator). This is a bit more difficult than 8kyu in JS, and you need to handle infinite sequences correctly.
This comment is hidden because it contains spoiler information about the solution
Time complexity? I prefer to think of it as giving my computer a thorough workout!
VSCode
lacks sufficient testing coveragetry comparing your failed test cases for a commonality
Solution for JS passes all tests in VSCode, but crashes when attempting it here? Why?
you have to use the spoiler flag when posting code. i have added the flag to your comment
This comment is hidden because it contains spoiler information about the solution
You can read that a few posts below: https://www.codewars.com/kata/542ebbdb494db239f8000046/discuss#63b5310ecb77a00024c721e1
Why is this kata rated as level 8? 🤨
Great Kata, but Python version is much more difficult than 8 kyu. I understand rules and ranks cannot be change, but what would make this kata much simpler and get it to 8 kyu in Python would be simpler test case, for example: removing all test cases with range iterators and only keeping list and string.
Oh lovely, I didn't know you could do that with
=n
to make it inclusive.Interesting kata, you need a loop that iterates through all sorts of things, from arrays, to strings, to generator objects. You just have to figure out which loop that is.
This comment is hidden because it contains spoiler information about the solution
time is not scary only to the Egyptian pyramids)))
Loading more items...