I think if we repetedly calculate area by bluetforce is becomming too complex… This question is from morkvita !
Any easy and simple logic any body have
If you don’t post the complete pic of your question. No one will answer
We use segment tree and sweep-line algorithm to find the places with maximum overlapping and then add up those values…I’ll add the detailed solution later
Ohkk waiting for the solution thnzz un advance