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.
no answer from OP
I've just double-checked and both the author solution and the reference solution return
false
for the inputs[ [ 19, -24 ], [ 58, -70 ], [ 24, -31 ], [ -18, 18 ], [ 16, -25 ] ]
.Is this a recurring issue? Do you have another example?
the author's solution returns
false
for this input. when i try your solution, it incorrectly returnsfalse
for aligned points, e.g.[ [32,-66], [42,-82], [-18,14] ]
Do you have an example of such test?