Code Question 1

Company: Amazon_19sep

Difficulty: medium