WD interview question

Case study for system design