Pregunta de entrevista de DRW

Maximal rectangle but two nonoverlapping ones