Amazon interview question

How did you solve a problem