FARFETCH Interview Question

How would you handle certain scenarios when developing software