Thoughtworks interview question

Case study based.