Favor Interview Question

High level system design question