There are many overlapping boxes areas find total area with max overlapping

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

gallery3d|230x500

If you don’t post the complete pic of your question. No one will answer :slight_smile:

Overlapping Boxes this is the link to the problem

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 :slight_smile:

Ohkk waiting for the solution thnzz un advance

@anon55659401 you free now?