Amazon interview question

How did you resolve complex issue with simple solution