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.
just to be safe? i think in order to find closest points in a O(nlogn) time complexity, we need a sorted array, because array could be in any order.
The description doesn't specify this, and sorting an array of arrays just to be safe is an easy task to do.
This comment is hidden because it contains spoiler information about the solution
what.
I did it with an incorrect solution. Why are test cases so little in numbers? I could have done it by covering for all EIGHT test cases. I didn't even use bitwise operator in this one.
never choose the weeb.
This comment is hidden because it contains spoiler information about the solution
Needs random tests
Is the input always sorted lexicographically?
I'm having same problem. How did u manage to do it?