Amazon Interview Question

How did you deal with the problem?