Ad
  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    If it let you sleep better, I will just not post any solution anymore. I solved most of the katas, especially the more difficult ones like this one mainly for myself, not to "cheat" you or anybody else, and even if you don't believe it, I learnt alot from it. I think, I was sitting like 2 weeks on this solution and was very happy, when I (not ChatGTP) got it to work at the end...

  • Custom User Avatar

    Again... Just because I let AI format my program and let it generate comments doesnt mean the whole programm is generated by AI...

  • Custom User Avatar

    Just because I let AI format my program and let it generate comments doesnt mean the whole programm is generated by AI...

  • Custom User Avatar

    How can I provide a link to a specific solution? I am rather new to this Codewars website.

  • Custom User Avatar

    Thanks for pointing me to that. I didn't know that AI is not allowed. Actually for me AI is just a modern programming tool. And the judgement you're doing about me is perhaps a bit harsh. Just because I use AI doesnt mean that I am not able to learn anythin at all. Look at my other solved 1kyu and 2kyu katas. This is not purely AI generated stuff. And there are very unique solutions among them, which no AI can generate for you.

  • Custom User Avatar

    And? Still better I try to use AI as a tool to help me with programming tasks and try to understand whats the meaning rather than blindly copying the same solution from some web page like 90% of the solutions are here on Codewars.

  • Custom User Avatar

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

  • Custom User Avatar

    Nice Kata. I learned some more about prime numbers and how to find them. Thank you!

  • Custom User Avatar

    I found some testcases, where the Codewars environment shows different results than my program:

    number of walls: 6
    walls = (
    [ (Point(6, 2),Point(7, 1))
    , (Point(7, 4),Point(6, 3))
    , (Point(1, 2),Point(3, 0))
    , (Point(2, 1),Point(0, 3))
    , (Point(9, 1),Point(8, 2))
    , (Point(6, 4),Point(7, 5))
    ])
    width = 10
    height = 5
    expected = False
    Your answer: True

    Here the 2 overlapping edges (Point(1, 2),Point(3, 0)) and (Point(2, 1),Point(0, 3)) form a partition with upper and left boundary walls.

    Another testcase:

    number of walls: 11
    walls = (
    [ ((22, 7),(19, 5))
    , ((21, 6),(21, 4))
    , ((24, 7),(24, 6))
    , ((18, 8),(18, 8))
    , ((17, 8),(17, 8))
    , ((23, 8),(24, 9))
    , ((17, 9),(17, 7))
    , ((19, 8),(16, 8))
    , ((16, 9),(14, 9))
    , ((20, 9),(17, 7))
    , ((18, 9),(17, 6))
    ])
    width = 40
    height = 16
    expected = False
    Your answer: True

    There are 2 partitions in the center.

  • Custom User Avatar

    Thank you for this great kata. I learned a lot about how to handle graphs in python.

  • Custom User Avatar

    Nice kata. Learned some new little coding technics on the way. Thank you!

  • Loading more items...