Thoughtworks Interview Question

Case study based.