Amazon interview question

3 Coding and behavioral question