Maximum Carrots

Company: Flipkart_3sep

Difficulty: medium