Max Inversion Distance, Rectangle Overlap
Painter Problem