Amazon interview question

I used the STAR method