Amazon interview question

behavior question and coding problem