Code Question 2

Company: Amazon_29march

Difficulty: medium