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.
Without looking at your code it is hard to say, but I would probably bet that any algorithm that iterates through two loops (a and b) will give you troubles when you try and find c in a^2 + b^2 = c^2.
Try to find a way to make only one loop in your code.
Nice use of accumulate.
Nice use of any
Nice!
Yeah, I think I can maybe be a little more liberal with my one-liners.
Nice one liner. Just currious, do people use if statements like this in production? Thanks!
This comment is hidden because it contains spoiler information about the solution
Nice!
Nice!
This comment is hidden because it contains spoiler information about the solution
Fun problem, but this really shouldn't be 7 Kyu since there is a timing element.
Thanks
Thank you for the fun problem, but does it seem a little over rated?
The description seems vague. My solution involves finding all of the integral points along the line between start and target, moving "diagonally" as mentioned in the description. However, reading a prior issue with (3,2), (4,5), it seems there is a limit the max length of each diagonals. Please update the max length, are diagonals limited to 2^.5 ?
Thanks!