Microsoft interview question

There was one design problem