Ad
  • Custom User Avatar

    I hope codewars does not share your xenophobic personal views.

  • Custom User Avatar

    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).

  • Default User Avatar

    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.

  • Custom User Avatar

    Nothing is wrong with random tests. What is wrong is your code, that produces the following error, as you can see:

    RecursionError: maximum recursion depth exceeded in comparison
    

    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.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    You need a more efficient solution!

  • Default User Avatar

    so the point is that every image in a kata should be changed from an external URL to a data URI ?

  • Custom User Avatar

    I can see the image too.

    However, in the past, it was sometimes reported that some images cannot be seen by users, usually those who try to access them from countries with an alternative view on accessiblity of Internet.

  • Default User Avatar

    what is missing ? I can see the image

  • Default User Avatar

    Missing image in the description: Image

  • Default User Avatar

    but when i return empty it wants [0,0] and when i return [0,0] it wants empty

  • Default User Avatar

    @rowcased when my code outputs [0,0] it says that it should equal [] but when i output [] it says that it should equal [0,0]

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Hi. Sorry but this is not kata issue (I mean, nobody can do anything with it here, this has no relation with the kata). A better place to ask for assistance would be to ask for help in Codewars Discord channel (see link on left panel). There you'll find active and competent users that may try to understand the issue and fix it if possible.

  • Default User Avatar

    Hi, when i test and attempt my code I pass all the tests but I cant submit my code. I refresh the page and i still cant submit my code. This is a recurring issue in many different katas and can it please be fixed.

  • Loading more items...