Some test case not passing


here is the code pls check why all test cases are not passing

@professor
the issue is in ur comparator.

ur should sort on the basis of right end of the cirlce (i,e c + r).

sorting on the basis of only centre /radius will fail.

for example (1,5) (2,1) here circle one should come after circle 2.
but ur code will order them as (1,5) then (2,1)