Compensating Breadth Reduction for a Longer Rectangle

Company: Ion Group - Hackerrank_17thjuly

Difficulty: medium