Algorithms-and-Data-Structures icon indicating copy to clipboard operation
Algorithms-and-Data-Structures copied to clipboard

Problem with some inputs

Open amkreiner opened this issue 4 years ago • 0 comments

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

amkreiner avatar Sep 18 '21 18:09 amkreiner