What's wrong in my code?

 Find the minimum number of circles that need to be removed.

added commentss…