Microsoft Interview Question

There was one design problem