Maximum Total Rectangle Area

Company: Infosys SP

Difficulty: medium