Could anyone please check the error in my code? And how do I deal with concentric circles?
Thanks!
MAximum Circles WA on Case 4
they have considered circle with intersection point also so…
if(val<=v[i].first)
{
ans++;
val=v[i].second;
}
Worked! Thank you