Mercer interview question

How i managed the difficult task and what steps i took?