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.
please add more examples, i don't understand what do i need to do
So you didn't solve it. See there: https://docs.codewars.com/training/troubleshooting/
i already solved it, but i'm getting Execution timed out
I hope codewars does not share your xenophobic personal views.
Not necessarily. There are some approaches described here: https://docs.codewars.com/authoring/recipes/adding-images . As for a complete solution to the problem, I know that maintainers plan to introduce a possibility of uploading images to CW servers. Until then, we need to live with whatever possibilities we got, and picking one is a matter of trade-offs. There's no perfect solution at the moment, so just pick whichever you think is "good enough". I am personally fine with external links as long as the only problem with them is being inaccessible for citizens of Orvellistan, or while going through a VPN located there (note: I am not exactly sure what caused the issue in Unnamed's case).
It looks like that server blocked Russian IP addresses. This blocking coming from servers' side isn't rare these days.
In any case, it's an http resource on an https page, it could easily be blocked by a browser with stricter settings. So I suggest it should be a data URI, if an image at all.
Nothing is wrong with random tests. What is wrong is your code, that produces the following error, as you can see:
Which means there are too many recursive calls. You can make a research online to try and see how you could handle that, though, if I may give you an advice: don't use recursion here. Recursive solutions are generally bad (bad performance + crash prone) when recursion is too deep.
This comment is hidden because it contains spoiler information about the solution