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.
Python 3.10
With what language?
Often i get output like this:
when actually the two pair of points that my code outputs have the same distance (
0.008166310501669808
if you check).Also, my solution looks like
O(nlogn)
but it still goes out of time.I updated to C18 but your solution crashes with both and not on an empty string. BTW how do you explain that 218 guys passed the C11 kata?:-)
Returning "" (an empty string) crashes the program with C11, while it doesn't crash with C18.