Amazon interview question

Explain a time when you encountered a difficult problem with multiple solutions how did you solve it?