Favor interview question

High level system design question