Amazon interview question

find a solution for a research problem and a problem solving task.