Search:

Type: Posts; User: Keith Willenson

Search: Search took 0.19 seconds.

  1. Re: TimSort not working for particular data set

    Sorry for the confusion. That is a good suspicion. I had it too. I really did not check compareTo(). I tested compareToXY() .

    In the code


    public static Comparator<Point> xyPointComparator =...
  2. TimSort not working for particular data set

    In the attached file, I have a dataset and Java code. When I use the code marked as "Not working" it fails. I have been using this code for quite a while with no problem. It is only on this...
Results 1 to 2 of 2