I didn’t find any mistakes in my code. It gives me WA on all test cases. Here is my code link.
Maximum Circles Problem
cout<<n-ans<<endl;
u need to print minimum circle u remove to make other circle non overlapping
if this solves your doubt please mark it as resolved