Ad
  • Custom User Avatar

    Nope, no examples, looks like I was mistaken. I was looking at the examples on Desmos which were out of order in some cases.

    I modified my code to fix what I thought was the issue, but must have fixed the actual issue accidentally at the same time.

  • Custom User Avatar

    Feels like it should be ranked higher that 5kyu, but otherwise fun problem.

    One thing to note that did mess me up: The kata definition states that the starting point is (0,0), so I don't think that it should be included in the passed list. Or, if it must be passed in the list, it should always be first. A few of the inputs included (0,0) in apparently random places.

  • Custom User Avatar

    Is the equation given for the ellipse correct? It seems like it should be (p(x - a))^2 + (q(y - b))^2 = r^2