One testcase is not getting passed. Please help me in finding the mistake.
The link of the code is : -
Maximum Circles Problem
Hi @krikhi
Just remove the equality in this line : if(v[i].first <= prevEnd)
Then your code works just fine.
Hope it Helps.