FARFETCH interview question

How would you handle certain scenarios when developing software