code link
Why showing partial correct answer
@frzkaleem
hello faraz ,
ur sorting should depend on both radius as well as circle but u r considering only radius which is incorrect.
sort circles on basis of r+c value and rest approach is similar to activity selection problem