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.
Nice :D
Still persists in the current JavaScript random tests. Top solution does not pass the test for n = 13 at the moment.
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.
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!
This comment is hidden because it contains spoiler information about the solution
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.
Width and height are expected to be inclusive, but then the addressable range would be 1 bigger than the actual width:
0-2000
has2001
values, not2000
.This is an issue ;-)
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.
The reference solution appears to be generating 1001 points when pointNum is 1000.
Hehe, same idea.
This comment is hidden because it contains spoiler information about the solution
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!