FARFETCH Interview Question

Given a specific technical scenario, how who I solve it.