Amazon interview question

Behavioural