Algorithms-and-Data-Structures
Algorithms-and-Data-Structures copied to clipboard
Problem with some inputs
There is an issue with the less() boolean utility method used in the merge method. Since we want to sort the point array by y-coordinates, you should be comparing the y values in the less() method