Counting Good Scaled Arrays

Company: Amazon_20thjune

Difficulty: medium