Maximum Fruits to Collect

Company: ICICI

Difficulty: medium