Amazon interview question

how did you solved challenges?