Maximum Beauty of an Array

Company: Publicis Sapient_8oct

Difficulty: medium