Ad
  • Custom User Avatar
  • Default User Avatar

    Still persists in the current JavaScript random tests. Top solution does not pass the test for n = 13 at the moment.

  • Default User Avatar

    Yes.. such a stupid mistake on my end. I was thinking about this very naively. Thanks for the feedback. I updated the reference solution and Kata instructions, though leave it in draft state until I figured out all its potential problems.

  • Default User Avatar

    I agree, this should have been more clear. I made some changes to the description, and updated the image to both illustrate the screen border and the expected output order. It also highlighted a new potential problem: What should be the center point for even screen dimensions? I´ll get back to that.
    Thank you for the feedback!

  • Default User Avatar

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

  • Custom User Avatar

    It's not clear where the origin of the concentric circles are, besides a brief mention of a series of centered concentric dotted circles. Which is centered around what?

    It's probably be helpful to add a rectangular border to the embedded image to signify the screen.

  • Custom User Avatar

    Width and height are expected to be inclusive, but then the addressable range would be 1 bigger than the actual width: 0-2000 has 2001 values, not 2000.

  • Custom User Avatar

    This is an issue ;-)

  • Custom User Avatar

    If the width is 2000, shouldn't the addressable range be from 0 to 1999?

    The reference solution generates x coordinates up to 2000, which implies a screen width of 2001.

  • Custom User Avatar

    The reference solution appears to be generating 1001 points when pointNum is 1000.

  • Default User Avatar

    Hehe, same idea.

  • Default User Avatar

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

  • Default User Avatar

    While this passed the tests, I have a feeling that this is not the solution, that is asked for.
    Can someone point me to the concepts, this Kata is about?
    Furthermore, the BP solutions all perform worse somehow on my machine (most raise a RecursionError at way lower values than this solution). Any ideas to why that is the case?
    Thank you warriors!