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.
This comment is hidden because it contains spoiler information about the solution
As I mentioned below, maybe you are forgetting something.
I told you everything I know.
Maybe you are forgetting something
Perhaps
I did add a statement to return an array
[x, y]
in the descriptionvariable "points" is not very clearly, should be "n" or "size" of points.
because brute force is the only solution
How perform operations between numbers and functions
x * function x y
function x y * y
and function and function
functionA x y * functionB y x
Debug message is written in every assert (test, debug message)
such as
assert(numberAtPosition(201, 2) == 102, "Expected output(102) for input n(201) and x(2).")
Decreased to 1000
Should I delete this kata?
Me too number=6462745976994925
f(k,b)=6462745976994924
Expected: 186268, instead got: 6462745976994924