Amazon interview question

How do you usually go about solving a problem?