Microsoft interview question

Solve a design problem