Amazon interview question

Review principles and remember to use STAR method.