Maximum of Subarray Minimums

Company: oracle_9aug

Difficulty: medium